refactor(test): clean up location of BigDataTest helper outside of main test files

This commit is contained in:
phaneron 2024-11-22 02:19:28 -05:00
parent 14462ae233
commit d25d3653bb
3 changed files with 5 additions and 9 deletions

View file

@ -1,5 +1,6 @@
#include "storm/Big.hpp" #include "storm/Big.hpp"
#include "test/Test.hpp" #include "test/Test.hpp"
#include "test/big/BigDataTest.hpp"
#include <string> #include <string>
TEST_CASE("SBigAdd", "[big]") { TEST_CASE("SBigAdd", "[big]") {

View file

@ -1,8 +1,2 @@
#define CATCH_CONFIG_MAIN #define CATCH_CONFIG_MAIN
#include "test/Test.hpp" #include "test/Test.hpp"
#include "storm/Big.hpp"
BigDataTest::BigDataTest() { SBigNew(&num); }
BigDataTest::~BigDataTest() { SBigDel(num); }

View file

@ -1,6 +1,7 @@
#include "storm/Big.hpp" #include "storm/Big.hpp"
#include "storm/big/Ops.hpp" #include "storm/big/Ops.hpp"
#include "test/Test.hpp" #include "test/Test.hpp"
#include "test/big/BigDataTest.hpp"
#include <vector> #include <vector>
TEST_CASE("Add", "[big]") { TEST_CASE("Add", "[big]") {