ElectricField base Class and Homogene Class with tests

This commit is contained in:
Joachim Rupp
2020-07-10 14:28:52 +02:00
parent a40838df2d
commit 70c23ed59a
11 changed files with 151 additions and 7 deletions
+14
View File
@@ -0,0 +1,14 @@
#include "catch.hpp"
#include "ElectricField.h"
SCENARIO("Test the ElectricField class", "[ElectricField]") {
GIVEN("An electric field") {
ElectricField electric_field;
WHEN("A value is ordered") {
THEN("Jonas value is returned") {
REQUIRE(electric_field.getValue() == 0);
}
}
}
}