diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-06-23 22:31:15 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-06-23 22:43:36 +0200 |
| commit | 748c9ed7f0a05b21df831ac09171b44902460ba8 (patch) | |
| tree | afe27bb7f79e50b5b973fcabd1c053c219e4b452 /test/nbttest.cpp | |
| parent | 2b3f7e4b90b5787dbe8b4b40dcfc806bcb3f014e (diff) | |
| download | Project-Tick-748c9ed7f0a05b21df831ac09171b44902460ba8.tar.gz Project-Tick-748c9ed7f0a05b21df831ac09171b44902460ba8.zip | |
Add to test_get_type
Diffstat (limited to 'test/nbttest.cpp')
| -rw-r--r-- | test/nbttest.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/test/nbttest.cpp b/test/nbttest.cpp index 24846e84da..ea4ad85629 100644 --- a/test/nbttest.cpp +++ b/test/nbttest.cpp @@ -25,12 +25,17 @@ using namespace nbt; void test_get_type() { - ASSERT(tag_byte().get_type() == tag_type::Byte); - ASSERT(tag_short().get_type() == tag_type::Short); - ASSERT(tag_int().get_type() == tag_type::Int); - ASSERT(tag_long().get_type() == tag_type::Long); - ASSERT(tag_float().get_type() == tag_type::Float); - ASSERT(tag_double().get_type() == tag_type::Double); + ASSERT(tag_byte().get_type() == tag_type::Byte); + ASSERT(tag_short().get_type() == tag_type::Short); + ASSERT(tag_int().get_type() == tag_type::Int); + ASSERT(tag_long().get_type() == tag_type::Long); + ASSERT(tag_float().get_type() == tag_type::Float); + ASSERT(tag_double().get_type() == tag_type::Double); + //ASSERT(tag_byte_array().get_type() == tag_type::Byte_Array); + ASSERT(tag_string().get_type() == tag_type::String); + //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); } void test_tag_primitive() |
