- commit
- 139b0d6136b9e825616df972a211840c0ce1ad2e
- parent
- 79b8f6670d93215a153e1169523fcfcdd9048cc7
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2017-06-02 14:33
test pow with 0 input
Diffstat
| M | test/math.js | 9 | +++++++++ |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/math.js b/test/math.js
@@ -43,6 +43,15 @@ describe('math', function() {
43 43 sassaby.func('pow').calledWithArgs('3px', '2');
44 44 });
45 45 });
-1 46 it('pow(3.5, 0) == 1', function() {
-1 47 sassaby.func('pow').calledWithArgs('3.5', '0').equals('1');
-1 48 });
-1 49 it('pow(0, 3.5) == 0', function() {
-1 50 sassaby.func('pow').calledWithArgs('0', '3.5').equals('0');
-1 51 });
-1 52 it('pow(0, 0) == 1', function() {
-1 53 sassaby.func('pow').calledWithArgs('0', '0').equals('1');
-1 54 });
46 55 });
47 56
48 57 describe('ln', function() {