diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-07-05 11:56:21 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-07-05 11:56:21 +0200 |
| commit | 044752a36b076a59ee4cf5f6fef9d782acc0c5f0 (patch) | |
| tree | 253d75964a5c88633e6eebf1ff27084fce97be71 | |
| parent | 66a99e80a7bcb85c5cb1f743522d53b150780ee6 (diff) | |
| download | Project-Tick-044752a36b076a59ee4cf5f6fef9d782acc0c5f0.tar.gz Project-Tick-044752a36b076a59ee4cf5f6fef9d782acc0c5f0.zip | |
Add a few logging outputs for the tests
| -rw-r--r-- | test/nbttest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/nbttest.cpp b/test/nbttest.cpp index fe6490eb7b..cbe2202e8f 100644 --- a/test/nbttest.cpp +++ b/test/nbttest.cpp @@ -36,6 +36,7 @@ void test_get_type() //ASSERT(tag_list().get_type() == tag_type::List); ASSERT(tag_compound().get_type() == tag_type::Compound); //ASSERT(tag_int_array().get_type() == tag_type::Int_Array); + std::clog << "test_get_type passed" << std::endl; } void test_tag_primitive() @@ -52,6 +53,7 @@ void test_tag_primitive() ASSERT(7 == static_cast<int>(tag)); ASSERT(tag_double() == 0.0); + std::clog << "test_tag_primitive passed" << std::endl; } void test_tag_string() @@ -72,6 +74,7 @@ void test_tag_string() ASSERT(tag_string(str).get() == "foo"); ASSERT(tag_string().get() == ""); + std::clog << "test_tag_string passed" << std::endl; } void test_tag_compound() @@ -144,6 +147,8 @@ void test_tag_compound() ASSERT(comp.emplace<tag_string>("def", "ghi") == true); ASSERT(comp.emplace<tag_byte>("def", 4) == false); ASSERT((comp == tag_compound{{"abc", tag_long(-28)}, {"def", tag_byte(4)}})); + + std::clog << "test_tag_compound passed" << std::endl; } int main() |
