Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,692
Issues
1,692
List
Boards
Labels
Service Desk
Milestones
Merge Requests
85
Merge Requests
85
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
29890d1a
Commit
29890d1a
authored
Feb 05, 2016
by
Mathieu Giraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/segment.cpp, tests: delete AlignBox objects
parent
7aa2d14f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
algo/core/segment.cpp
algo/core/segment.cpp
+3
-0
algo/tests/testSegment.cpp
algo/tests/testSegment.cpp
+3
-0
No files found.
algo/core/segment.cpp
View file @
29890d1a
...
@@ -995,6 +995,9 @@ void FineSegmenter::FineSegmentD(Germline *germline, bool several_D,
...
@@ -995,6 +995,9 @@ void FineSegmenter::FineSegmentD(Germline *germline, bool several_D,
boxes
.
push_back
(
box_J
);
boxes
.
push_back
(
box_J
);
code
=
codeFromBoxes
(
boxes
,
sequence_or_rc
);
code
=
codeFromBoxes
(
boxes
,
sequence_or_rc
);
delete
box_D1
;
delete
box_D2
;
finishSegmentationD
();
finishSegmentationD
();
}
}
}
}
...
...
algo/tests/testSegment.cpp
View file @
29890d1a
...
@@ -36,6 +36,9 @@ void testOverlap()
...
@@ -36,6 +36,9 @@ void testOverlap()
TAP_TEST
(
box_A
->
end
==
6
,
TEST_FINE_SEGMENT_OVERLAP
,
"end position of left region : "
<<
box_A
);
TAP_TEST
(
box_A
->
end
==
6
,
TEST_FINE_SEGMENT_OVERLAP
,
"end position of left region : "
<<
box_A
);
TAP_TEST
(
box_C
->
start
==
7
,
TEST_FINE_SEGMENT_OVERLAP
,
"start position of right region : "
<<
box_C
);
TAP_TEST
(
box_C
->
start
==
7
,
TEST_FINE_SEGMENT_OVERLAP
,
"start position of right region : "
<<
box_C
);
delete
box_A
;
delete
box_C
;
}
}
void
testFineSegment
()
void
testFineSegment
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment