Skip to content

Commit

Permalink
Merge pull request #1720 from briandipalma/fix/CTNXT-419/fix-fxtile-A…
Browse files Browse the repository at this point in the history
…Ts-in-CTNext

fix(br-parsing): Move properties files to `resources` directory
  • Loading branch information
thecapdan authored Sep 1, 2016
2 parents f331c50 + e53894d commit e110bd2
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 20 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(function() {
var LocalisedAmountParser = require('br/parsing/LocalisedAmountParser');

LocalisedAmountParserTest = TestCase("LocalisedAmountParserTest");

LocalisedAmountParserTest.prototype.setUp = function() {
Expand Down Expand Up @@ -44,22 +44,6 @@
assertEquals(0.2345, this.oParser.parse(sValue, this.mAttributes));
};


LocalisedAmountParserTest.prototype.test_testParseI18nDecimal = function() {
this.oParser = new LocalisedAmountParser();

var sValue = "1.25l";
assertEquals(62.5, this.oParser.parse(sValue, this.mAttributes));
sValue = "1.25x";
assertEquals(12.5, this.oParser.parse(sValue, this.mAttributes));
sValue = "0.5X";
assertEquals(5, this.oParser.parse(sValue, this.mAttributes));
sValue = "0.23c";
assertEquals(23, this.oParser.parse(sValue, this.mAttributes));
sValue = ".2345";
assertEquals(0.2345, this.oParser.parse(sValue, this.mAttributes));
};

LocalisedAmountParserTest.prototype.test_testParseDecimalPlusShortcut = function()
{
var sValue = "3.k";
Expand Down

0 comments on commit e110bd2

Please sign in to comment.