about summary refs log blame commit diff stats
path: root/linux/401test.mu
blob: 03acabf1bc3469b511ddd4437e2175bd657cbfdf (plain) (tree)
1
2
3
4
5
6
7
8

                            
                                               



                              
                                                   


                              
# Some helpers for Mu tests.

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

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