summaryrefslogtreecommitdiff
path: root/test/endian_str_test.cpp
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-08-10 19:42:25 +0200
committerljfa-ag <ljfa-ag@web.de>2015-08-10 19:42:25 +0200
commit65d8091ddc1e78629ae8268fdb38a8654c92423b (patch)
tree61885a14de73cbfd5938d0d2d820cc48e27165cb /test/endian_str_test.cpp
parent1a4d8ab0f31a3c1417f3f78a9013151424e9f7f3 (diff)
downloadProject-Tick-65d8091ddc1e78629ae8268fdb38a8654c92423b.tar.gz
Project-Tick-65d8091ddc1e78629ae8268fdb38a8654c92423b.zip
Add output to clog for endian_str and read tests
Diffstat (limited to 'test/endian_str_test.cpp')
-rw-r--r--test/endian_str_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/endian_str_test.cpp b/test/endian_str_test.cpp
index 3f7f481777..d519dee049 100644
--- a/test/endian_str_test.cpp
+++ b/test/endian_str_test.cpp
@@ -20,6 +20,7 @@
#include "microtest.h"
#include "endian_str.h"
#include <cstdlib>
+#include <iostream>
#include <sstream>
using namespace endian;
@@ -75,6 +76,7 @@ void test_uint()
ASSERT(u64 == 0x090A0B0C0D0E0F10);
ASSERT(str); //Check if stream has failed
+ std::clog << "test_uint passed" << std::endl;
}
void test_sint()
@@ -128,6 +130,7 @@ void test_sint()
ASSERT(i64 == -0x090A0B0C0D0E0F10);
ASSERT(str); //Check if stream has failed
+ std::clog << "test_sint passed" << std::endl;
}
void test_float()
@@ -167,6 +170,7 @@ void test_float()
ASSERT(d == dconst);
ASSERT(str); //Check if stream has failed
+ std::clog << "test_float passed" << std::endl;
}
int main()