diff options
author | Matthew Gregan <[email protected]> | 2016-11-10 17:06:08 +1300 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2016-11-11 09:44:29 +1300 |
commit | 5574f4d3a18215843810a1affe531d8f0146b44b (patch) | |
tree | d154d2cef129a5d21a7a5235892165fd2c51f858 /test/test_utils.cpp | |
parent | 66c8539ca09125b1a6a1f45924cab1e73653b448 (diff) | |
download | cubeb-5574f4d3a18215843810a1affe531d8f0146b44b.tar.gz cubeb-5574f4d3a18215843810a1affe531d8f0146b44b.zip |
Move tests out of main into their own test.
Diffstat (limited to 'test/test_utils.cpp')
-rw-r--r-- | test/test_utils.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test_utils.cpp b/test/test_utils.cpp index 33bab55..4056076 100644 --- a/test/test_utils.cpp +++ b/test/test_utils.cpp @@ -1,7 +1,7 @@ #include "gtest/gtest.h" #include "cubeb_utils.h" -void test_auto_array() +TEST(utils, auto_array) { auto_array<uint32_t> array; auto_array<uint32_t> array2(10); @@ -70,7 +70,3 @@ void test_auto_array() ASSERT_EQ(array.capacity(), 20u); } -TEST(utils, main) -{ - test_auto_array(); -} |