Print

Print


Commit in GeomConverter/test/org/lcsim/geometry/layer on MAIN
LayerStackTest.java+3-11.3 -> 1.4
Initialize MaterialManager in setup().

GeomConverter/test/org/lcsim/geometry/layer
LayerStackTest.java 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- LayerStackTest.java	21 Jun 2005 04:12:49 -0000	1.3
+++ LayerStackTest.java	1 Jul 2005 00:14:25 -0000	1.4
@@ -7,6 +7,7 @@
 package org.lcsim.geometry.layer;
 
 import junit.framework.*;
+import org.lcsim.material.MaterialManager;
 
 /**
  *
@@ -21,7 +22,7 @@
     private static final double layerStackThickness = layerThickness * numLayers; 
     
     private static final double[] sliceThick = { 1.0, 0.5, 0.25, 0.25 };
-    private static final String[] sliceMat = { "Air", "G10", "Scintillator", "Iron"};
+    private static final String[] sliceMat = { "Iron", "Silicon", "Chlorine", "Nitrogen"};
     
     /** Creates a new instance of LayerStackTest */
     public LayerStackTest(String name)
@@ -31,6 +32,7 @@
     
     protected void setUp() throws java.lang.Exception
     {
+        MaterialManager.instance();
         layerStack = new LayerStack();
         
         LayerSlice s1 = new LayerSlice(sliceMat[0], sliceThick[0], false);
CVSspam 0.2.8