1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: update for stricter type checks

This commit is contained in:
Uwe Krüger
2020-05-24 21:07:32 +02:00
committed by GitHub
parent 4e66c12557
commit fd4d28b7b6
25 changed files with 88 additions and 76 deletions

View File

@@ -31,7 +31,7 @@ fn test_float_equal_operator() {
assert a.gebit(1)
assert -1 == 1 * -1
assert -1.0 == 1.0 * -1.0
a = f64(1)
a = 1
a += 0.000001
a -= 0.000001
assert a == f32(1.0)