Changeset 3bacee1 in mainline for uspace/lib/pcut/tests/xmlreport.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/tests/xmlreport.c
r76d0981d r3bacee1 35 35 PCUT_INIT; 36 36 37 PCUT_TEST(zero_exponent) { 37 PCUT_TEST(zero_exponent) 38 { 38 39 PCUT_ASSERT_INT_EQUALS(1, intpow(2, 0)); 39 40 } 40 41 41 PCUT_TEST(one_exponent) { 42 PCUT_TEST(one_exponent) 43 { 42 44 PCUT_ASSERT_INT_EQUALS(2, intpow(2, 1)); 43 45 PCUT_ASSERT_INT_EQUALS(39, intpow(39, 1)); 44 46 } 45 47 46 PCUT_TEST(same_strings) { 48 PCUT_TEST(same_strings) 49 { 47 50 const char *p = "xyz"; 48 51 PCUT_ASSERT_STR_EQUALS("xyz", p); … … 50 53 } 51 54 52 PCUT_CUSTOM_MAIN( 53 PCUT_MAIN_SET_XML_REPORT 54 ); 55 PCUT_CUSTOM_MAIN(PCUT_MAIN_SET_XML_REPORT);
Note:
See TracChangeset
for help on using the changeset viewer.