diff options
Diffstat (limited to 'src/test/P10ExerciceTest.cc')
-rw-r--r-- | src/test/P10ExerciceTest.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/P10ExerciceTest.cc b/src/test/P10ExerciceTest.cc index cc18ec3..dd54f6d 100644 --- a/src/test/P10ExerciceTest.cc +++ b/src/test/P10ExerciceTest.cc @@ -9,6 +9,7 @@ #include "StraightElement.h" #include "Quadrupole.h" #include "FODO.h" +#include "exceptions.h" #include <iostream> #include <string> #include <vector> @@ -69,10 +70,12 @@ int main() { a.add(*p1); a.add(*p2); - //TODO a.close(); + a.enableLinear(true); + a.close(); cout << a << endl; a.clear(); + return 0; } |