Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
7f0afb69
Commit
7f0afb69
authored
Nov 24, 2017
by
Mikaël Salson
Browse files
segmenter_test.js: A test doesn't have to update the segmenter or model by itself
parent
0c83ea37
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/test/QUnit/testFiles/segmenter_test.js
View file @
7f0afb69
...
...
@@ -127,7 +127,6 @@ QUnit.test("segt", function (assert) {
assert
.
deepEqual
(
segment
.
sequence
[
3
].
get_positionned_highlight
(
"
test_feature
"
,
""
),{
"
color
"
:
""
,
"
css
"
:
"
highlight_seq
"
,
"
seq
"
:
"
CACCCAGGAGGTGGAGCTGGATATTGAGACT
"
,
"
start
"
:
94
,
"
stop
"
:
124
,
"
tooltip
"
:
""
},
"
test feature value
"
)
assert
.
equal
(
m
.
clone
(
3
).
getSegLength
(
'
test_feature
'
),
31
,
"
feature length
"
);
m
.
unselectAll
();
segment
.
updateElem
([])
assert
.
equal
(
segment
.
toFasta
(),
""
);
m
.
select
(
3
);
assert
.
equal
(
segment
.
toFasta
(),
"
> test4 // 2.500%
\n
GGAAGGCCCCACAGCGTCTTCTGTACTATGACGTCTCCACCGCAAGGGATGTGTTGGAATCAGGACTCAGTCCAGGAAAGTATTATACTCATACACCCAGGAGGTGGAGCTGGATATTGAGACTGCAAAATCTAATTGAAAATGATTCTGGGGTCTATTACTGTGCCACCTGGGACAGGCTGAAGGATTGGATCAAGACGTTTGCAAAAGGGACTAGGCTCATAGTAACTTCGCCTGGTAA
\n
"
,
"
fasta seq
"
)
...
...
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