Changeset 4b54bd9 in mainline for uspace/lib/pcut/tests/xmlreport.c
- Timestamp:
- 2018-09-12T13:23:03Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3da0ee4
- Parents:
- 275530a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/tests/xmlreport.c
r275530a4 r4b54bd9 33 33 #include "tested.h" 34 34 35 PCUT_INIT ;35 PCUT_INIT 36 36 37 PCUT_TEST(zero_exponent) 38 { 37 PCUT_TEST(zero_exponent) { 39 38 PCUT_ASSERT_INT_EQUALS(1, intpow(2, 0)); 40 39 } 41 40 42 PCUT_TEST(one_exponent) 43 { 41 PCUT_TEST(one_exponent) { 44 42 PCUT_ASSERT_INT_EQUALS(2, intpow(2, 1)); 45 43 PCUT_ASSERT_INT_EQUALS(39, intpow(39, 1)); 46 44 } 47 45 48 PCUT_TEST(same_strings) 49 { 46 PCUT_TEST(same_strings) { 50 47 const char *p = "xyz"; 51 48 PCUT_ASSERT_STR_EQUALS("xyz", p); … … 53 50 } 54 51 55 PCUT_CUSTOM_MAIN(PCUT_MAIN_SET_XML_REPORT); 52 PCUT_CUSTOM_MAIN( 53 PCUT_MAIN_SET_XML_REPORT 54 )
Note:
See TracChangeset
for help on using the changeset viewer.