@@ -6,15 +6,15 @@ $(document).ready(function(){
6
6
test ( "types" , function ( ) {
7
7
var typeOfIntegers = typeof ( 6 ) ;
8
8
var typeOfFloats = typeof ( 3.14159 ) ;
9
- equals ( typeOfIntegers === typeOfFloats , __ , 'are ints and floats the same type?' ) ;
10
- equals ( typeOfIntegers , __ , 'what is the javascript numeric type?' ) ;
11
- equals ( 1.0 , __ , 'what is a integer number equivalent to 1.0?' ) ;
9
+ equals ( typeOfIntegers === typeOfFloats , true , 'are ints and floats the same type?' ) ;
10
+ equals ( typeOfIntegers , "number" , 'what is the javascript numeric type?' ) ;
11
+ equals ( 1.0 , 1 , 'what is a integer number equivalent to 1.0?' ) ;
12
12
} ) ;
13
13
14
14
test ( "NaN" , function ( ) {
15
15
var resultOfFailedOperations = 7 / 'apple' ;
16
- equals ( isNaN ( resultOfFailedOperations ) , __ , 'what will satisfy the equals assertion?' ) ;
17
- equals ( resultOfFailedOperations == NaN , __ , 'is NaN == NaN?' ) ;
16
+ equals ( isNaN ( resultOfFailedOperations ) , true , 'what will satisfy the equals assertion?' ) ;
17
+ equals ( resultOfFailedOperations == NaN , false , 'is NaN == NaN?' ) ;
18
18
} ) ;
19
19
20
20
} ) ;
0 commit comments