Package org.unitConverter.math
Class ConditionalExistenceCollectionsTest
- java.lang.Object
-
- org.unitConverter.math.ConditionalExistenceCollectionsTest
-
class ConditionalExistenceCollectionsTest extends java.lang.ObjectTests 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) voidtestContainsKeyObject()Test method fororg.unitConverter.math.ZeroIsNullMap#containsKey(java.lang.Object).(package private) voidtestContainsValueObject()Test method fororg.unitConverter.math.ZeroIsNullMap#containsValue(java.lang.Object).(package private) voidtestEntrySet()Test method fororg.unitConverter.math.ZeroIsNullMap#entrySet().(package private) voidtestGetObject()Test method fororg.unitConverter.math.ZeroIsNullMap#get(java.lang.Object).(package private) voidtestIterator()(package private) voidtestKeySet()Test method fororg.unitConverter.math.ZeroIsNullMap#keySet().(package private) voidtestValues()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().
-
-