diff options
Diffstat (limited to 'src/test/flatfile_tests.cpp')
-rw-r--r-- | src/test/flatfile_tests.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/flatfile_tests.cpp b/src/test/flatfile_tests.cpp index 9931d19c2b..54c30ed314 100644 --- a/src/test/flatfile_tests.cpp +++ b/src/test/flatfile_tests.cpp @@ -23,6 +23,9 @@ BOOST_AUTO_TEST_CASE(flatfile_filename) FlatFileSeq seq2(data_dir / "a", "b", 16 * 1024); BOOST_CHECK_EQUAL(seq2.FileName(pos), data_dir / "a" / "b00456.dat"); + + // Check default constructor IsNull + assert(FlatFilePos{}.IsNull()); } BOOST_AUTO_TEST_CASE(flatfile_open) |