From 044752a36b076a59ee4cf5f6fef9d782acc0c5f0 Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Sun, 5 Jul 2015 11:56:21 +0200 Subject: Add a few logging outputs for the tests --- test/nbttest.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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(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("def", "ghi") == true); ASSERT(comp.emplace("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() -- cgit 0.0.5-2-1-g0f52