source: ZHANGProjects/ICOSIM/CPP/trunk/source/testElement.cc @ 2

Last change on this file since 2 was 2, checked in by zhangj, 10 years ago

Initial import

File size: 762 bytes
Line 
1#include <iostream>
2#include <vector>
3#include <string>
4#include "Element.h"
5using namespace std;
6
7/*
8########################################################
9
10Test file for the class Element
11
12########################################################
13*/
14
15
16main()
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}
Note: See TracBrowser for help on using the repository browser.