source: Dev/trunk/src/client/dojox/math/tests/BigInteger.js @ 513

Last change on this file since 513 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 324 bytes
Line 
1dojo.provide("dojox.math.tests.BigInteger");
2
3dojo.require("dojox.math.BigInteger");
4
5tests.register("dojox.math.tests.BigInteger",
6        [
7                function sanity_check(t){
8                        var x = new dojox.math.BigInteger("abcd1234", 16),
9                                y = new dojox.math.BigInteger("beef", 16),
10                                z = x.mod(y);
11                        t.is("b60c", z.toString(16));
12                }
13        ]
14);
Note: See TracBrowser for help on using the repository browser.