about summary refs log blame commit diff stats
path: root/401test.mu
blob: 65b765dff55a3ddd3a20df220ea6ddb0103018e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                     
# Some helpers for Mu tests.

fn check-true val: boolean, msg: (addr array byte) {
  var tmp/eax: int <- copy val
  check-ints-equal tmp, 1, msg
}

fn check-false val: boolean, msg: (addr array byte) {
  var tmp/eax: int <- copy val
  check-ints-equal tmp, 0, msg
}