Add some basic tests for the database
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "catch2/catch.hpp"
|
||||
#include "i2c.hpp"
|
||||
|
||||
class I2CFixture {
|
||||
public:
|
||||
I2CFixture() { REQUIRE(drivers::init_i2c() == ESP_OK); }
|
||||
~I2CFixture() { drivers::deinit_i2c(); }
|
||||
};
|
||||
Reference in New Issue
Block a user