Example #1
0
 @Test
 public void testDetectorsToString() {
   GemcPropertyMaps data = new GemcPropertyMaps();
   data.put("det0", new GemcDetector());
   data.put("det1", new GemcDetector());
   String datastr = data.toString();
 }
Example #2
0
 @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());
 }
Example #3
0
  @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");
  }