aiken/examples/acceptance_tests/117/lib/tests.ak

18 lines
238 B
Plaintext

use aiken/builtin.{write_bits}
test bar() {
let x =
if True {
[0, 1, 2, 3]
} else {
[0, 1]
}
write_bits(#"f0", x, True) == #"ff"
}
test baz() {
let x = [0, 1, 2, 3]
write_bits(#"f0", x, True) == #"ff"
}