From 9f1087c906f78e8bdace18ea628f3c530c2c67b1 Mon Sep 17 00:00:00 2001 From: Peter Krusche Date: Thu, 26 Nov 2015 08:19:51 +0000 Subject: [PATCH] HAP-137 fix unit test gt ordering for #1 --- .ycm_extra_conf.py | 2 ++ src/c++/test/test_allelesplit.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py index 571bed0..f829cd6 100644 --- a/.ycm_extra_conf.py +++ b/.ycm_extra_conf.py @@ -55,6 +55,8 @@ '-I', 'external/intervaltree', '-I', +'external/boost_install/include', +'-I', '/illumina/thirdparty/boost/boost_1_55_0_python2.4/include', '-I', '/opt/boost_1_55_0/include', diff --git a/src/c++/test/test_allelesplit.cpp b/src/c++/test/test_allelesplit.cpp index 6304ad3..e0d1d10 100644 --- a/src/c++/test/test_allelesplit.cpp +++ b/src/c++/test/test_allelesplit.cpp @@ -191,6 +191,8 @@ BOOST_AUTO_TEST_CASE(testVariantPrimitiveSplitter) std::ostringstream oss; oss << v; std::string res = stringutil::replaceAll(oss.str(), "1/0", "0/1"); + res = stringutil::replaceAll(res, "2/0", "0/2"); + res = stringutil::replaceAll(res, "2/1", "1/2"); if(!expected_vars[v.pos].count(res)) { std::cerr << "Unexpected variant calls: " << v << "\n";