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
6b3418e1
Commit
6b3418e1
authored
Aug 09, 2018
by
Mathieu Giraud
Browse files
tests: update
parent
02d77348
Changes
2
Hide whitespace changes
Inline
Side-by-side
browser/test/QUnit/testFiles/axis_test.js
View file @
6b3418e1
...
...
@@ -97,10 +97,11 @@ QUnit.test("axis", function(assert) {
0
,
25
)
assert
.
equal
(
axis
.
pos
(
m
.
clone
(
0
)).
pos
.
toPrecision
(
3
),
0.00
,
"
custom : clone 0 (nlength = 0) position -> 0.00
"
)
assert
.
equal
(
axis
.
pos
(
m
.
clone
(
1
)).
pos
.
toPrecision
(
3
),
0.3
0
,
"
custom : clone 1 (nlength = 9) position
-> 0.30
"
)
assert
.
equal
(
axis
.
pos
(
m
.
clone
(
1
)).
pos
.
toPrecision
(
3
),
0.3
21
,
"
custom : clone 1 (nlength = 9) position
"
)
//sequenceLength
axis
=
new
NumericalAxis
(
m
)
axis
.
MAX_NB_STEPS_IN_AXIS
=
8
axis
.
init
(
m
.
clones
,
function
(
clone
)
{
return
clone
.
getSequenceLength
();
...
...
browser/test/QUnit/testFiles/scatterPlot_test.js
View file @
6b3418e1
...
...
@@ -47,7 +47,8 @@ QUnit.test("grid", function(assert) {
$
(
document
.
getElementsByClassName
(
"
sp_legend
"
)[
0
]).
d3Click
()
//click label ighv4
assert
.
deepEqual
(
m
.
getSelected
(),
[
2
],
"
check click label
"
);
sp
.
available_axis
[
"
nLength
"
].
axis
.
MAX_NB_STEPS_IN_AXIS
=
8
sp
.
changeSplitMethod
(
"
nLength
"
,
"
size
"
,
sp
.
MODE_BAR
);
sp
.
update
()
...
...
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