Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
96222ccb
Commit
96222ccb
authored
Jan 03, 2017
by
Mathieu Giraud
Browse files
tests: update tests
parent
0333bf01
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/test/QUnit/testFiles/axis_test.js
View file @
96222ccb
...
...
@@ -15,7 +15,7 @@ test("Axis : ", function() {
deepEqual
(
axis
.
labels
,
[],
"
default axis
"
);
//abundance
axis
.
custom
(
function
(
clone
ID
){
return
m
.
clone
(
cloneID
)
.
getSizeZero
()},
axis
.
custom
(
function
(
clone
){
return
clone
.
getSizeZero
()},
function
(){
return
m
.
min_size
},
1
,
true
,
...
...
@@ -73,8 +73,8 @@ test("Axis : ", function() {
//Nlength
axis
.
custom
(
function
(
clone
ID
)
{
return
m
.
clone
(
cloneID
)
.
getNlength
();
axis
.
custom
(
function
(
clone
)
{
return
clone
.
getNlength
();
},
0
,
25
)
...
...
@@ -98,8 +98,8 @@ test("Axis : ", function() {
deepEqual
(
axis
.
labels
[
1
].
text
,
"
10%
"
,
"
custom (percent+log) : check label 10%
"
)
//output string
axis
.
custom
(
function
(
clone
ID
)
{
return
m
.
clone
(
cloneID
)
.
getName
();
axis
.
custom
(
function
(
clone
)
{
return
clone
.
getName
();
},
undefined
,
undefined
,
'
string
'
)
equal
(
axis
.
pos
(
0
).
toPrecision
(
3
),
0.0625
,
"
custom (name : clone 0
"
)
});
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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