Helper for testing UnitComponent.
More...
#include <M5Utility.hpp>
#include <thread>
#include <cassert>
Go to the source code of this file.
|
namespace | m5 |
| Top level namespace of M5stack.
|
|
|
template<class U > |
uint32_t | m5::unit::googletest::test_periodic_measurement (U *unit, const uint32_t times, const uint32_t tolerance, const uint32_t timeout_duration, void(*callback)(U *), const bool skip_after_test) |
|
template<class U > |
uint32_t | m5::unit::googletest::test_periodic_measurement (U *unit, const uint32_t times=8, const uint32_t tolerance=1, void(*callback)(U *)=nullptr, const bool skip_after_test=false) |
|
template<class U > |
uint32_t | m5::unit::googletest::test_periodic_measurement (U *unit, const uint32_t times=8, void(*callback)(U *)=nullptr, const bool skip_after_test=false) |
|
Helper for testing UnitComponent.
- Note
- Depends on GoogleTest