Changeset 4b54bd9 in mainline for uspace/lib/pcut/tests/simple.c


Ignore:
Timestamp:
2018-09-12T13:23:03Z (7 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3da0ee4
Parents:
275530a4
Message:

Update PCUT to latest revision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/tests/simple.c

    r275530a4 r4b54bd9  
    3030#include "tested.h"
    3131
    32 PCUT_INIT;
     32PCUT_INIT
    3333
    34 PCUT_TEST(zero_exponent)
    35 {
     34PCUT_TEST(zero_exponent) {
    3635        PCUT_ASSERT_INT_EQUALS(1, intpow(2, 0));
    3736}
    3837
    39 PCUT_TEST(one_exponent)
    40 {
     38PCUT_TEST(one_exponent) {
    4139        PCUT_ASSERT_INT_EQUALS(2, intpow(2, 1));
    4240        PCUT_ASSERT_INT_EQUALS(39, intpow(39, 1));
    4341}
    4442
    45 PCUT_TEST(same_strings)
    46 {
     43PCUT_TEST(same_strings) {
    4744        const char *p = "xyz";
    4845        PCUT_ASSERT_STR_EQUALS("xyz", p);
     
    5047}
    5148
    52 PCUT_MAIN();
     49PCUT_MAIN()
Note: See TracChangeset for help on using the changeset viewer.