예제 #1
0
 public void testQualifiedNameZeroStudySegmentEpoch() throws Exception {
   assertEquals("Epoch", Epoch.create("Epoch").getStudySegments().get(0).getQualifiedName());
 }
예제 #2
0
 public void testQualifiedName() throws Exception {
   Epoch epoch = Epoch.create("Epoch", "A", "B");
   assertEquals("Epoch: A", epoch.getStudySegments().get(0).getQualifiedName());
   assertEquals("Epoch: B", epoch.getStudySegments().get(1).getQualifiedName());
 }
예제 #3
0
 public void testFindMatchingChildSegmentWhenNotPresent() throws Exception {
   Epoch e = Epoch.create("E", "A1", "A2");
   assertNull(e.findNaturallyMatchingChild("A0"));
 }