Package org.unitConverter.math
Class ConditionalExistenceCollectionsTest
- java.lang.Object
-
- org.unitConverter.math.ConditionalExistenceCollectionsTest
-
class ConditionalExistenceCollectionsTest extends java.lang.Object
Tests the#ConditionalExistenceCollections
.- Since:
- 2019-10-16
- Author:
- Adrien Hopkins
-
-
Constructor Summary
Constructors Constructor Description ConditionalExistenceCollectionsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) ConditionalExistenceCollections.ConditionalExistenceIterator<java.lang.String>
getTestIterator()
The returned iterator ignores elements that don't start with "a".(package private) java.util.Map<java.lang.String,java.lang.Integer>
getTestMap()
The returned map ignores mappings where the value is zero.(package private) void
testContainsKeyObject()
Test method fororg.unitConverter.math.ZeroIsNullMap#containsKey(java.lang.Object)
.(package private) void
testContainsValueObject()
Test method fororg.unitConverter.math.ZeroIsNullMap#containsValue(java.lang.Object)
.(package private) void
testEntrySet()
Test method fororg.unitConverter.math.ZeroIsNullMap#entrySet()
.(package private) void
testGetObject()
Test method fororg.unitConverter.math.ZeroIsNullMap#get(java.lang.Object)
.(package private) void
testIterator()
(package private) void
testKeySet()
Test method fororg.unitConverter.math.ZeroIsNullMap#keySet()
.(package private) void
testValues()
Test method fororg.unitConverter.math.ZeroIsNullMap#values()
.
-
-
-
Method Detail
-
getTestIterator
ConditionalExistenceCollections.ConditionalExistenceIterator<java.lang.String> getTestIterator()
The returned iterator ignores elements that don't start with "a".- Returns:
- test iterator
- Since:
- 2019-10-17
-
getTestMap
java.util.Map<java.lang.String,java.lang.Integer> getTestMap()
The returned map ignores mappings where the value is zero.- Returns:
- map to be used for test data
- Since:
- 2019-10-16
-
testContainsKeyObject
@Test void testContainsKeyObject()
Test method fororg.unitConverter.math.ZeroIsNullMap#containsKey(java.lang.Object)
.
-
testContainsValueObject
@Test void testContainsValueObject()
Test method fororg.unitConverter.math.ZeroIsNullMap#containsValue(java.lang.Object)
.
-
testEntrySet
@Test void testEntrySet()
Test method fororg.unitConverter.math.ZeroIsNullMap#entrySet()
.
-
testGetObject
@Test void testGetObject()
Test method fororg.unitConverter.math.ZeroIsNullMap#get(java.lang.Object)
.
-
testIterator
@Test void testIterator()
-
testKeySet
@Test void testKeySet()
Test method fororg.unitConverter.math.ZeroIsNullMap#keySet()
.
-
testValues
@Test void testValues()
Test method fororg.unitConverter.math.ZeroIsNullMap#values()
.
-
-