Created
September 18, 2012 13:40
-
-
Save jsakamoto/3743147 to your computer and use it in GitHub Desktop.
Prepend reference xml commnet version.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="qunit.js" /> | |
/// <reference path="formatAsYen.js" /> | |
test("prepend Yen sign.", function () { | |
QUnit.equal(formatAsYen(123), "\\123"); | |
}); | |
test("insert comma at par 3characters.", function () { | |
QUnit.equal(formatAsYen(1234567), "\\1,234,567"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment