add float to test case to check leading zeroes in exponent parts
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user