Here are some ideas to get you started:
- 🔭 I’m currently working on @access-company
- 🌱 I’m currently learning reinforcement learning and drone.
- 💬 Ask me about IoT :)
Here are some ideas to get you started:
Users might have .h files in the ../test directory that need to be included.
-I../$(TEST_DIR)
Currently requires you to #include "arduinomock/Arduino.h" which breaks all usual include paths.
Instead include like
-I$(ARDUINO_MOCK_DIR)/include/arduino-mock/
In testing I've found I need to bring in a few other libraries. I'm currently doing this like so
DEP_DIR = ../../ringbuffer
# Flags passed to the preprocessor.
# Set Google Test's header directory as a system directory, such that
# the compiler doesn't generate warnings in Google Test headers.
CPPFLAGS += -isystem $(GTEST_DIR)/include -isystem $(GMOCK_DIR)/include \
-I$(ARDUINO_MOCK_DIR)/include/arduino-mock/ \
-I$(DEP_DIR)
but it only allows for a single include. If you're amenable some kind of bash iterator should allow a list of directories to be added
GOAL
Implement a mock module to emulate the EEPROM.
And also implement gtest unit tests and arduino sample programs to make sure your mock module.
STEPS TO DEVELOP YOUR MODULE
NOTE
The “test/arduino-mock” directory is submodule. Please create another pull request when modifying test/arduino-mock.
Is there a reason you went away from googltest naming of USER_DIR to TEST_DIR which require $(TEST_DIR)../ Before all user paths? It seems like bad form and can easily be fixed by going to back the USER_DIR style.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.