diff options
| author | jacqueline <me@jacqueline.id.au> | 2022-11-16 11:34:46 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2022-11-16 11:34:46 +1100 |
| commit | 1d340db87193ca589c3bd5df241ae0ed51a3100d (patch) | |
| tree | b59a07eceda5fcc2be211a137c4b50d2ca1bbe1a /src/drivers/test | |
| parent | 0ef333164bb47956a5ac686f376583e865cedcc4 (diff) | |
| download | tangara-fw-1d340db87193ca589c3bd5df241ae0ed51a3100d.tar.gz | |
Order and group headers correctly
Diffstat (limited to 'src/drivers/test')
| -rw-r--r-- | src/drivers/test/test_battery.cpp | 3 | ||||
| -rw-r--r-- | src/drivers/test/test_dac.cpp | 8 | ||||
| -rw-r--r-- | src/drivers/test/test_gpio_expander.cpp | 5 | ||||
| -rw-r--r-- | src/drivers/test/test_storage.cpp | 8 |
4 files changed, 15 insertions, 9 deletions
diff --git a/src/drivers/test/test_battery.cpp b/src/drivers/test/test_battery.cpp index a1499e40..f0006336 100644 --- a/src/drivers/test/test_battery.cpp +++ b/src/drivers/test/test_battery.cpp @@ -1,6 +1,7 @@ -#include <cstdint> #include "battery.hpp" +#include <cstdint> + #include "catch2/catch.hpp" namespace drivers { diff --git a/src/drivers/test/test_dac.cpp b/src/drivers/test/test_dac.cpp index 84be09b9..fab258e4 100644 --- a/src/drivers/test/test_dac.cpp +++ b/src/drivers/test/test_dac.cpp @@ -1,11 +1,13 @@ -#include <cstdint> #include "dac.hpp" + +#include <cstdint> + +#include "catch2/catch.hpp" + #include "gpio_expander.hpp" #include "i2c.hpp" #include "i2c_fixture.hpp" -#include "catch2/catch.hpp" - namespace drivers { TEST_CASE("dac configuration", "[integration]") { diff --git a/src/drivers/test/test_gpio_expander.cpp b/src/drivers/test/test_gpio_expander.cpp index d0d31002..7bf44d28 100644 --- a/src/drivers/test/test_gpio_expander.cpp +++ b/src/drivers/test/test_gpio_expander.cpp @@ -1,9 +1,10 @@ #include "gpio_expander.hpp" -#include "i2c.hpp" -#include "i2c_fixture.hpp" #include "catch2/catch.hpp" +#include "i2c.hpp" +#include "i2c_fixture.hpp" + namespace drivers { TEST_CASE("gpio expander", "[integration]") { diff --git a/src/drivers/test/test_storage.cpp b/src/drivers/test/test_storage.cpp index 49b3d097..627fa615 100644 --- a/src/drivers/test/test_storage.cpp +++ b/src/drivers/test/test_storage.cpp @@ -1,16 +1,18 @@ +#include "storage.hpp" + #include <dirent.h> + #include <cstdio> #include <fstream> #include <iostream> +#include "catch2/catch.hpp" + #include "gpio_expander.hpp" #include "i2c.hpp" #include "i2c_fixture.hpp" #include "spi.hpp" #include "spi_fixture.hpp" -#include "storage.hpp" - -#include "catch2/catch.hpp" namespace drivers { |
