varius get cases

This commit is contained in:
omerfinger 2020-03-28 22:50:07 +03:00
parent ac21dcc346
commit dac08f02db
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public class CaseInsensitiveMapUnitTest {
treeMap.put("ABC", 2);
assertEquals((Integer)2, treeMap.get("aBc"));
assertEquals((Integer)2, treeMap.get("ABc"));
}
@Test
@ -54,6 +55,7 @@ public class CaseInsensitiveMapUnitTest {
commonsHashMap.put("ABC", 2);
assertEquals((Integer)2, commonsHashMap.get("aBc"));
assertEquals((Integer)2, commonsHashMap.get("ABc"));
}
@Test
@ -63,6 +65,7 @@ public class CaseInsensitiveMapUnitTest {
linkedHashMap.put("ABC", 2);
assertEquals((Integer)2, linkedHashMap.get("aBc"));
assertEquals((Integer)2, linkedHashMap.get("ABc"));
}
@Test