Fix float err
This commit is contained in:
parent
208ab7c147
commit
d216cc85ae
|
@ -29,6 +29,6 @@ test(ratio, [[167, 100, 200]], 0.67)
|
|||
test(ratio, [[8, 10, 0]], 0.2)
|
||||
test(ratio, [[4, 10, 20]], 0.0)
|
||||
test(scale, [[4, 0, 10, 0, 100]], 40)
|
||||
test(scale, [[160, 120, 240, 0, 100]], 100/3)
|
||||
test(scale, [[180, 120, 240, 0, 100]], 50)
|
||||
test(get_x_values, [[[0, 5], [1, 5], [2, 5]]], [0, 1, 2])
|
||||
test(get_y_values, [[[0, 5], [1, 5], [2, 5]]], [5, 5, 5])
|
||||
|
|
Loading…
Reference in New Issue