mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
UT: Initial check in unit tests for amount.js.
This commit is contained in:
13
test/amount-test.js
Normal file
13
test/amount-test.js
Normal file
@@ -0,0 +1,13 @@
|
||||
var buster = require("buster");
|
||||
|
||||
var amount = require("../js/amount.js");
|
||||
|
||||
buster.testCase("Amount", {
|
||||
"UInt160" : {
|
||||
"Parse 0" : function () {
|
||||
buster.assert.equals(0, amount.UInt160.from_json("0").value);
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
// vim:sw=2:sts=2:ts=8
|
||||
Reference in New Issue
Block a user