[fine] More tests and also comparisons

This commit is contained in:
John Doty 2024-01-15 09:43:56 -08:00
parent 55749af917
commit 7fb88ef199
5 changed files with 101 additions and 4 deletions

View file

@ -0,0 +1,18 @@
fun is_hello(x:string) -> bool {
x == "hello"
}
fun is_23(x:f64) -> bool {
x == 23.0
}
fun is_false(x:bool) -> bool {
x == false
}
fun test() -> bool {
is_hello("hello") and is_23(23) and is_false(false)
}
// @no-errors
// @eval: Bool(true)