@Test public void testDetectorsToString() { GemcPropertyMaps data = new GemcPropertyMaps(); data.put("det0", new GemcDetector()); data.put("det1", new GemcDetector()); String datastr = data.toString(); }
@Test public void tesFill() { GemcPropertyMaps data = new GemcPropertyMaps(); data.put("detector", new GemcDetector()); data.put("hit", new GemcHit()); data.put("bank", new GemcBank()); data.put("material", new GemcMaterial()); }
@Test public void tesFillDetectors() { GemcPropertyMaps data = new GemcPropertyMaps(); data.put("det0", new GemcDetector()); data.put("det1", new GemcDetector()); data.get("det1").put("mother", "det0"); assertEquals(data.get("det1").get("mother"), "det0"); }