All pastes #449825 Raw Edit

Stuff

public c v1 · immutable
·published 2007-04-20 13:43 UTC
rendered paste body
AUT_DEFINE_RESULTS();intmain(void){        AUT_SETUP();        aut_assert(1 == 0);        aut_assert(1 == 1);        aut_equal(1, 0);        aut_equal(1, 1);        aut_not_equal(1, 0);        aut_not_equal(1, 1);        aut_not_equal_msg(1, 1, "one is not equal to one");        aut_strequal("one", "two");        aut_not_strequal("one", "two");        AUT_END();        return 0;}-->eirik@eirik:~/Projects/akuma/aut/trunk$ ./aut Test failed: aut.c:62: 1 == 0Test passed: aut.c:63: 1 == 1Test failed: aut.c:64: (1) == (0)Test passed: aut.c:65: (1) == (1)Test passed: aut.c:66: (1) != (0)Test failed: aut.c:67: (1) != (1)Test failed: aut.c:68: one is not equal to oneTest failed: aut.c:69: strcmp(("one"), ("two")) == 0Test passed: aut.c:70: strcmp(("one"), ("two")) != 0AUT End:        Tests run: 9        Tests passed/failed: 4/5