コード例 #1
0
 @Test
 public void createSetsOfString() {
   Tuple<Set> tuple = SET_FACTORY.createValues(STRINGSET_TYPETAG, prefabValues, typeStack);
   assertEquals(setOf(red), tuple.getRed());
   assertEquals(setOf(black), tuple.getBlack());
 }
コード例 #2
0
 @Test
 public void createRawLists() {
   Tuple<List> tuple = LIST_FACTORY.createValues(RAWLIST_TYPETAG, prefabValues, typeStack);
   assertEquals(listOf(redObject), tuple.getRed());
   assertEquals(listOf(blackObject), tuple.getBlack());
 }
コード例 #3
0
 @Test
 public void createListsOfString() {
   Tuple<List> tuple = LIST_FACTORY.createValues(STRINGLIST_TYPETAG, prefabValues, typeStack);
   assertEquals(listOf(red), tuple.getRed());
   assertEquals(listOf(black), tuple.getBlack());
 }