File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
lib/src/test/java/com/imsweb/staging/entities Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,12 @@ void testNumericRanges() {
9595
9696 // nothing checks that a decimal is there. Non-decimal value will still be considered in the range.
9797 assertTrue (new StagingRange ("0.1" , "99999.9" ).contains ("1000" , new HashMap <>()));
98+
99+ assertFalse (new StagingRange ("1.0" , "999.999" ).contains ("0.1" , new HashMap <>()));
100+ assertTrue (new StagingRange ("1.0" , "999.999" ).contains ("1.000001" , new HashMap <>()));
101+ assertTrue (new StagingRange ("1.0" , "999.999" ).contains ("1.9" , new HashMap <>()));
102+ assertTrue (new StagingRange ("1.0" , "999.999" ).contains ("10.934215" , new HashMap <>()));
103+ assertFalse (new StagingRange ("1.0" , "999.999" ).contains ("999.9991" , new HashMap <>()));
98104 }
99105
100106}
You can’t perform that action at this time.
0 commit comments