1 | #include <iostream> |
---|
2 | #include <vector> |
---|
3 | #include <string> |
---|
4 | #include "Element.h" |
---|
5 | using namespace std; |
---|
6 | |
---|
7 | /* |
---|
8 | ######################################################## |
---|
9 | |
---|
10 | Test file for the class Element |
---|
11 | |
---|
12 | ######################################################## |
---|
13 | */ |
---|
14 | |
---|
15 | |
---|
16 | main() |
---|
17 | { |
---|
18 | |
---|
19 | Element elt1(-2.316794521, 0.537534425, 0.0712, 0.01725, 0, 0, "RECTANGLE", 103.4788975, 20.8994661, 0.027602708, 0, 1.231007397, 0, "MARKER", 0, 0, 0, "BEGI.10010", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "x"); |
---|
20 | |
---|
21 | Element elt2(2.316066957, -0.534433046, 0.0712, 0.01725, 0, 0, "RECTANGLE", 103.4812508, 20.8903137, -0.027848221, 0, 1.230624298, 0, "QUADRUPOLE", 3.085, 0.004637558, 0.024132382, "QF.10010", 0, 0, 0, 3.085, 0, 0, 0, 0, 0, 0.044535174, 0, 0, 0, "x"); |
---|
22 | |
---|
23 | elt1.affiche(); |
---|
24 | |
---|
25 | |
---|
26 | } |
---|