diff options
| author | hathach <[email protected]> | 2013-01-16 22:37:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-16 22:37:10 +0700 |
| commit | 53739ccd28478144ce9cde9d16410175a79a518d (patch) | |
| tree | 95aa55a0709ebb7cb7bd0e1ee552f05287ef3728 /tests | |
| parent | 095129887e58cc2445afc1e2c10512e87c2c65ff (diff) | |
rename some fifo functions to be more consistent
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test/test_fifo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test/test_fifo.c b/tests/test/test_fifo.c index 5741d6bcb..4a2ba41c0 100644 --- a/tests/test/test_fifo.c +++ b/tests/test/test_fifo.c @@ -77,21 +77,21 @@ void test_normal(void) void test_is_empty(void) { - TEST_ASSERT_TRUE(fifo_isEmpty(&ff)); + TEST_ASSERT_TRUE(fifo_is_empty(&ff)); fifo_write(&ff, 1); - TEST_ASSERT_FALSE(fifo_isEmpty(&ff)); + TEST_ASSERT_FALSE(fifo_is_empty(&ff)); } void test_is_full(void) { uint8_t i; - TEST_ASSERT_FALSE(fifo_isFull(&ff)); + TEST_ASSERT_FALSE(fifo_is_full(&ff)); for(i=0; i < FIFO_SIZE; i++) { fifo_write(&ff, i); } - TEST_ASSERT_TRUE(fifo_isFull(&ff)); + TEST_ASSERT_TRUE(fifo_is_full(&ff)); } |
