ElectricField base Class and Homogene Class with tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user