diff options
Diffstat (limited to 'test/test_utils.cpp')
-rw-r--r-- | test/test_utils.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_utils.cpp b/test/test_utils.cpp index cbdb960..a6227d4 100644 --- a/test/test_utils.cpp +++ b/test/test_utils.cpp @@ -1,5 +1,5 @@ -#include "gtest/gtest.h" #include "cubeb_utils.h" +#include "gtest/gtest.h" TEST(cubeb, auto_array) { @@ -10,7 +10,6 @@ TEST(cubeb, auto_array) ASSERT_EQ(array2.length(), 0u); ASSERT_EQ(array2.capacity(), 10u); - for (uint32_t i = 0; i < 10; i++) { a[i] = i; } @@ -39,7 +38,7 @@ TEST(cubeb, auto_array) ASSERT_EQ(b[i], i); ASSERT_EQ(array.data()[i], 5 + i); } - uint32_t* bb = b + 5; + uint32_t * bb = b + 5; array.pop(bb, 5); ASSERT_EQ(array.capacity(), 10u); @@ -69,4 +68,3 @@ TEST(cubeb, auto_array) ASSERT_EQ(array.length(), 15u); ASSERT_EQ(array.capacity(), 20u); } - |