Searched refs:bimap2 (Results 1 – 4 of 4) sorted by relevance
/external/guava/guava-tests/test/com/google/common/collect/ |
D | EnumHashBiMapTest.java | 158 EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2); in testCreateFromMap() local 159 assertTrue(bimap2.isEmpty()); in testCreateFromMap() 166 EnumHashBiMap<Currency, String> bimap2 = EnumHashBiMap.create(bimap1); in testEnumHashBiMapConstructor() local 167 assertEquals("dollar", bimap2.get(Currency.DOLLAR)); in testEnumHashBiMapConstructor() 168 assertEquals(bimap1, bimap2); in testEnumHashBiMapConstructor() 169 bimap2.inverse().put("franc", Currency.FRANC); in testEnumHashBiMapConstructor() 170 assertEquals("franc", bimap2.get(Currency.FRANC)); in testEnumHashBiMapConstructor() 172 assertFalse(bimap2.equals(bimap1)); in testEnumHashBiMapConstructor() 184 EnumHashBiMap<Currency, Object> bimap2 = // use supertype in testEnumBiMapConstructor() local 186 assertEquals(Country.SWITZERLAND, bimap2.get(Currency.DOLLAR)); in testEnumBiMapConstructor() [all …]
|
D | EnumBiMapTest.java | 172 EnumBiMap<Currency, Country> bimap2 = EnumBiMap.create(bimap1); in testEnumBiMapConstructor() local 173 assertEquals(Country.CANADA, bimap2.get(Currency.DOLLAR)); in testEnumBiMapConstructor() 174 assertEquals(bimap1, bimap2); in testEnumBiMapConstructor() 175 bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC); in testEnumBiMapConstructor() 176 assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC)); in testEnumBiMapConstructor() 178 assertFalse(bimap2.equals(bimap1)); in testEnumBiMapConstructor()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | EnumHashBiMapTest.java | 158 EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2); in testCreateFromMap() local 159 assertTrue(bimap2.isEmpty()); in testCreateFromMap() 166 EnumHashBiMap<Currency, String> bimap2 = EnumHashBiMap.create(bimap1); in testEnumHashBiMapConstructor() local 167 assertEquals("dollar", bimap2.get(Currency.DOLLAR)); in testEnumHashBiMapConstructor() 168 assertEquals(bimap1, bimap2); in testEnumHashBiMapConstructor() 169 bimap2.inverse().put("franc", Currency.FRANC); in testEnumHashBiMapConstructor() 170 assertEquals("franc", bimap2.get(Currency.FRANC)); in testEnumHashBiMapConstructor() 172 assertFalse(bimap2.equals(bimap1)); in testEnumHashBiMapConstructor() 184 EnumHashBiMap<Currency, Object> bimap2 = // use supertype in testEnumBiMapConstructor() local 186 assertEquals(Country.SWITZERLAND, bimap2.get(Currency.DOLLAR)); in testEnumBiMapConstructor() [all …]
|
D | EnumBiMapTest.java | 172 EnumBiMap<Currency, Country> bimap2 = EnumBiMap.create(bimap1); in testEnumBiMapConstructor() local 173 assertEquals(Country.CANADA, bimap2.get(Currency.DOLLAR)); in testEnumBiMapConstructor() 174 assertEquals(bimap1, bimap2); in testEnumBiMapConstructor() 175 bimap2.inverse().put(Country.SWITZERLAND, Currency.FRANC); in testEnumBiMapConstructor() 176 assertEquals(Country.SWITZERLAND, bimap2.get(Currency.FRANC)); in testEnumBiMapConstructor() 178 assertFalse(bimap2.equals(bimap1)); in testEnumBiMapConstructor()
|