samples/main-debug.cc
changeset 324 7571b28edc22
parent 276 58651aff818b
equal deleted inserted replaced
323:ae826c265100 324:7571b28edc22
    20   int a;
    20   int a;
    21   a = 0;
    21   a = 0;
    22 
    22 
    23   NS_ASSERT (a == 0);
    23   NS_ASSERT (a == 0);
    24   NS_ASSERT_MSG (a == 0, "my msg");
    24   NS_ASSERT_MSG (a == 0, "my msg");
    25   NS_ASSERT (a != 0)
    25   NS_ASSERT (a != 0);
    26   NS_ASSERT_MSG (a != 0, "my 2 msg");
    26   NS_ASSERT_MSG (a != 0, "my 2 msg");
    27 }
    27 }