projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chmod everything before pushing to web
[dygraphs.git]
/
auto_tests
/
tests
/
range_tests.js
diff --git
a/auto_tests/tests/range_tests.js
b/auto_tests/tests/range_tests.js
index
32c511e
..
c92c489
100644
(file)
--- a/
auto_tests/tests/range_tests.js
+++ b/
auto_tests/tests/range_tests.js
@@
-70,8
+70,12
@@
RangeTestCase.prototype.testRangeSetOperations = function() {
g.updateOptions({ });
assertEquals([12, 18], g.xAxisRange());
assertEquals([10, 40], g.yAxisRange(0));
g.updateOptions({ });
assertEquals([12, 18], g.xAxisRange());
assertEquals([10, 40], g.yAxisRange(0));
+
+ g.updateOptions({valueRange : null, axes: {y:{valueRange : [15, 20]}}});
+ assertEquals([12, 18], g.xAxisRange());
+ assertEquals([15, 20], g.yAxisRange(0));
- g.updateOptions({ dateWindow : null, valueRange : null });
+ g.updateOptions({ dateWindow : null, valueRange : null
, axes: null
});
assertEquals([10, 20], g.xAxisRange());
assertEquals([0, 55], g.yAxisRange(0));
};
assertEquals([10, 20], g.xAxisRange());
assertEquals([0, 55], g.yAxisRange(0));
};