Commit 3002c764 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: update

See #3358.
parent 54b205b9
......@@ -7,13 +7,12 @@
#include "core/dynprog.h"
#include "core/bioreader.hpp"
#include "core/segment.h"
#include "core/output.h"
#include "core/windowExtractor.h"
#include "lib/json.hpp"
using namespace std;
void testOverlap()
{
AlignBox *box_A = new AlignBox() ;
......@@ -275,7 +274,10 @@ void testBug2224(IndexTypes index) {
KmerSegmenter ks(data.read(0), germline);
TAP_TEST(ks.getKmerAffectAnalyser() == NULL, TEST_BUG2224, "");
json json_output = ks.toJson();
CloneOutput clone ;
ks.toOutput(&clone);
json json_output = clone.toJson();
TAP_TEST_EQUAL(json_output.count("affectValues"), 0, TEST_BUG2224, "");
TAP_TEST_EQUAL(json_output.count("affectSigns"), 0, TEST_BUG2224, "");
TAP_TEST_EQUAL(json_output.count("affectevalue"), 0, TEST_BUG2224, "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment