bigjs
Version:
A big integer library for JS, based on Leemon, with focus on prime numbers and cryptography
27 lines (25 loc) • 930 B
HTML
<html>
<head>
<meta charset="utf-8">
<title>Mocha Big Integers Tests</title>
<link href="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.css" rel="stylesheet" />
</head>
<body>
<script src="./src/bigint.js"></script>
<script src="./src/myBig.js"></script>
<div id="mocha"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/should.js/9.0.2/should.min.js"></script>
<script src="https://cdn.rawgit.com/jquery/jquery/2.1.4/dist/jquery.min.js"></script>
<script src="https://cdn.rawgit.com/Automattic/expect.js/0.3.1/index.js"></script>
<script src="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="./test/construction.js"></script>
<script src="./test/prime.js"></script>
<script src="./test/arithmetic.js"></script>
<script>
mocha.checkLeaks();
mocha.globals(['jQuery']);
mocha.run();
</script>
</body>
</html>