@@ -32,7 +32,7 @@ namespace genomeworks
3232namespace cudamapper
3333{
3434
35- TEST (TestChainerUtils, Create_Simple_Overlap_Tests )
35+ TEST (TestChainerUtils, Create_Overlap_Tests )
3636{
3737 Anchor a;
3838 a.query_read_id_ = 12 ;
@@ -46,7 +46,7 @@ TEST(TestChainerUtils, Create_Simple_Overlap_Tests)
4646 b.target_read_id_ = 46 ;
4747 b.target_position_in_read_ = 20400 ;
4848
49- Overlap p_ab = chainerutils::create_simple_overlap (a, b, 12 );
49+ Overlap p_ab = chainerutils::create_overlap (a, b, 12 );
5050 ASSERT_EQ (p_ab.query_read_id_ , static_cast <uint32_t >(12 ));
5151 ASSERT_EQ (p_ab.target_read_id_ , 46 );
5252 ASSERT_EQ (p_ab.query_start_position_in_read_ , 130 );
@@ -61,7 +61,7 @@ TEST(TestChainerUtils, Create_Simple_Overlap_Tests)
6161 c.target_read_id_ = 46 ;
6262 c.target_position_in_read_ = 16000 ;
6363
64- Overlap p_bc = chainerutils::create_simple_overlap (b, c, 22 );
64+ Overlap p_bc = chainerutils::create_overlap (b, c, 22 );
6565 ASSERT_EQ (p_bc.target_start_position_in_read_ , 16000 );
6666 ASSERT_EQ (p_bc.target_end_position_in_read_ , 20400 );
6767 ASSERT_EQ (static_cast <char >(p_bc.relative_strand ), static_cast <char >(RelativeStrand::Reverse));
@@ -86,15 +86,15 @@ TEST(TestChainerUtils, Anchor_Chain_Extraction_Tests)
8686 b.target_read_id_ = 46 ;
8787 b.target_position_in_read_ = 20400 ;
8888
89- Overlap p_ab = chainerutils::create_simple_overlap (a, b, 2 );
89+ Overlap p_ab = chainerutils::create_overlap (a, b, 2 );
9090
9191 Anchor c;
9292 c.query_read_id_ = 12 ;
9393 c.query_position_in_read_ = 15000 ;
9494 c.target_read_id_ = 46 ;
9595 c.target_position_in_read_ = 16000 ;
9696
97- Overlap p_bc = chainerutils::create_simple_overlap (b, c, 2 );
97+ Overlap p_bc = chainerutils::create_overlap (b, c, 2 );
9898
9999 std::vector<Anchor> anchors;
100100 anchors.push_back (a);
0 commit comments