1 package org.lcsim;
2
3 import java.io.InputStream;
4
5 import junit.framework.TestCase;
6
7 import org.lcsim.geometry.compact.CompactReader;
8 import org.lcsim.geometry.compact.Detector;
9 import org.lcsim.material.MaterialManager;
10
11
12
13
14
15 public class DetectorMaterialTest extends TestCase
16 {
17 Detector det = null;
18
19 protected void setUp() throws Exception
20 {
21 InputStream in =
22 getClass().getResourceAsStream("/org/lcsim/geometry/compact/sidloi3.xml");
23 CompactReader reader = new CompactReader();
24 det = reader.read(in);
25 }
26
27 public void testPrint()
28 {
29 MaterialManager.instance().printElements(System.out);
30 MaterialManager.instance().printMaterials(System.out);
31 }
32 }