fix int_test.v
parent
d66bc24e7f
commit
18c440c990
|
@ -46,7 +46,7 @@ fn test_float_equal_operator() {
|
||||||
assert a.gebit(1)
|
assert a.gebit(1)
|
||||||
|
|
||||||
f := 1.2
|
f := 1.2
|
||||||
ab := f as int
|
ab := int(f)
|
||||||
assert ab == 1
|
assert ab == 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue