You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
195 B
11 lines
195 B
3 years ago
|
#pragma once
|
||
|
|
||
|
#include "catch2/catch.hpp"
|
||
|
#include "i2c.hpp"
|
||
|
|
||
|
class I2CFixture {
|
||
|
public:
|
||
|
I2CFixture() { REQUIRE(drivers::init_i2c() == ESP_OK); }
|
||
|
~I2CFixture() { drivers::deinit_i2c(); }
|
||
|
};
|