susumu.yata
null+****@clear*****
Thu May 16 18:54:55 JST 2013
susumu.yata 2013-05-16 18:54:55 +0900 (Thu, 16 May 2013) New Revision: 1c0ffa080e55ae5da4d3e6ff4e46fa1c5930f37d https://github.com/groonga/grnxx/commit/1c0ffa080e55ae5da4d3e6ff4e46fa1c5930f37d Message: Add a test for grnxx::Array. Modified files: test/test_array.cpp Modified: test/test_array.cpp (+6 -0) =================================================================== --- test/test_array.cpp 2013-05-16 18:53:18 +0900 (dd06c76) +++ test/test_array.cpp 2013-05-16 18:54:55 +0900 (efaec4a) @@ -217,6 +217,12 @@ void test_bit_array() { assert(array.get(i, &value)); assert(value == expected_value); } + + assert(array.create(storage.get(), grnxx::STORAGE_ROOT_NODE_ID, true)); + assert(array); + for (std::uint64_t i = 0; i < SIZE; ++i) { + assert(array[i]); + } } } // namesapce -------------- next part -------------- HTML����������������������������... 下載