You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
324 B
14 lines
324 B
dojo.provide("dojox.math.tests.BigInteger"); |
|
|
|
dojo.require("dojox.math.BigInteger"); |
|
|
|
tests.register("dojox.math.tests.BigInteger", |
|
[ |
|
function sanity_check(t){ |
|
var x = new dojox.math.BigInteger("abcd1234", 16), |
|
y = new dojox.math.BigInteger("beef", 16), |
|
z = x.mod(y); |
|
t.is("b60c", z.toString(16)); |
|
} |
|
] |
|
); |