varius get cases
This commit is contained in:
parent
9fc999311c
commit
640f8ce5d2
|
@ -45,6 +45,7 @@ public class CaseInsensitiveMapUnitTest {
|
||||||
treeMap.put("ABC", 2);
|
treeMap.put("ABC", 2);
|
||||||
|
|
||||||
assertEquals((Integer)2, treeMap.get("aBc"));
|
assertEquals((Integer)2, treeMap.get("aBc"));
|
||||||
|
assertEquals((Integer)2, treeMap.get("ABc"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -54,6 +55,7 @@ public class CaseInsensitiveMapUnitTest {
|
||||||
commonsHashMap.put("ABC", 2);
|
commonsHashMap.put("ABC", 2);
|
||||||
|
|
||||||
assertEquals((Integer)2, commonsHashMap.get("aBc"));
|
assertEquals((Integer)2, commonsHashMap.get("aBc"));
|
||||||
|
assertEquals((Integer)2, commonsHashMap.get("ABc"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -63,6 +65,7 @@ public class CaseInsensitiveMapUnitTest {
|
||||||
linkedHashMap.put("ABC", 2);
|
linkedHashMap.put("ABC", 2);
|
||||||
|
|
||||||
assertEquals((Integer)2, linkedHashMap.get("aBc"));
|
assertEquals((Integer)2, linkedHashMap.get("aBc"));
|
||||||
|
assertEquals((Integer)2, linkedHashMap.get("ABc"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue