aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rfc6979.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-19 13:11:49 +0200
committerSimon Warta <[email protected]>2015-06-19 13:11:49 +0200
commit6750b13cc04e4a6a2f1aad364f74d0042d1da766 (patch)
treee4f4ee0dfe1787867218c1d8c334a2382318e057 /src/tests/test_rfc6979.cpp
parentb9c03ac33472b00a3eeb8bc00b7f37ef610a4eac (diff)
Replace \n by std::endl in tests to ensure proper flushing
- Remove additional newlines in CHECK_MESSAGE call - Remove redundant output of algo in aead_test() Closes #115
Diffstat (limited to 'src/tests/test_rfc6979.cpp')
-rw-r--r--src/tests/test_rfc6979.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/test_rfc6979.cpp b/src/tests/test_rfc6979.cpp
index c0bdd5822..772a492c3 100644
--- a/src/tests/test_rfc6979.cpp
+++ b/src/tests/test_rfc6979.cpp
@@ -38,7 +38,7 @@ size_t rfc6979_testcase(const std::string& q_str,
if(gen_k != exp_k)
{
std::cout << "RFC 6979 test #" << testcase << " failed; generated k="
- << std::hex << gen_k << "\n";
+ << std::hex << gen_k << std::endl;
++fails;
}
@@ -48,7 +48,7 @@ size_t rfc6979_testcase(const std::string& q_str,
if(gen_0 != exp_k)
{
std::cout << "RFC 6979 test #" << testcase << " failed; generated k="
- << std::hex << gen_0 << " (gen_0)\n";
+ << std::hex << gen_0 << " (gen_0)" << std::endl;
++fails;
}
@@ -56,7 +56,7 @@ size_t rfc6979_testcase(const std::string& q_str,
if(gen_1 == exp_k)
{
std::cout << "RFC 6979 test #" << testcase << " failed; generated k="
- << std::hex << gen_1 << " (gen_1)\n";
+ << std::hex << gen_1 << " (gen_1)" << std::endl;
++fails;
}
@@ -64,7 +64,7 @@ size_t rfc6979_testcase(const std::string& q_str,
if(gen_2 != exp_k)
{
std::cout << "RFC 6979 test #" << testcase << " failed; generated k="
- << std::hex << gen_2 << " (gen_2)\n";
+ << std::hex << gen_2 << " (gen_2)" << std::endl;
++fails;
}