@@ -401,8 +401,8 @@ describe("Interval — property tests", () => {
401401 it ( "closed='both': any interior point is always contained" , ( ) => {
402402 fc . assert (
403403 fc . property (
404- fc . float ( { noNaN : true , min : - 100 , max : 100 } ) ,
405- fc . float ( { noNaN : true , min : 0.01 , max : 10 } ) ,
404+ fc . double ( { noNaN : true , noDefaultInfinity : true , min : - 100 , max : 100 } ) ,
405+ fc . double ( { noNaN : true , noDefaultInfinity : true , min : 0.01 , max : 10 } ) ,
406406 ( left , delta ) => {
407407 const right = left + delta ;
408408 const iv = new Interval ( left , right , "both" ) ;
@@ -416,8 +416,8 @@ describe("Interval — property tests", () => {
416416 it ( "closed='neither': endpoints are never contained" , ( ) => {
417417 fc . assert (
418418 fc . property (
419- fc . float ( { noNaN : true , min : - 100 , max : 100 } ) ,
420- fc . float ( { noNaN : true , min : 0.01 , max : 10 } ) ,
419+ fc . double ( { noNaN : true , noDefaultInfinity : true , min : - 100 , max : 100 } ) ,
420+ fc . double ( { noNaN : true , noDefaultInfinity : true , min : 0.01 , max : 10 } ) ,
421421 ( left , delta ) => {
422422 const right = left + delta ;
423423 const iv = new Interval ( left , right , "neither" ) ;
0 commit comments