add float to test case to check leading zeroes in exponent parts

This commit is contained in:
RiyaJohn
2020-04-16 14:15:33 +05:30
parent e872682c78
commit 0a459e938d
4 changed files with 5 additions and 0 deletions
+1
View File
@@ -27,3 +27,4 @@ enabled = true
[clients]
data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it
score = 4e-08 # to make sure leading zeroes in exponent parts of floats are supported
+1
View File
@@ -27,3 +27,4 @@ enabled = true
[clients]
data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it
score = 4e-08 # to make sure leading zeroes in exponent parts of floats are supported
+2
View File
@@ -783,6 +783,7 @@ func TestParseFile(t *testing.T) {
[]string{"gamma", "delta"},
[]int64{1, 2},
},
"score": 4e-08,
},
})
}
@@ -819,6 +820,7 @@ func TestParseFileCRLF(t *testing.T) {
[]string{"gamma", "delta"},
[]int64{1, 2},
},
"score": 4e-08,
},
})
}
+1
View File
@@ -236,6 +236,7 @@ func TestTreeWriteToMapExampleFile(t *testing.T) {
[]interface{}{"gamma", "delta"},
[]interface{}{int64(1), int64(2)},
},
"score": 4e-08,
},
}
testMaps(t, tree.ToMap(), expected)