Sha256: bdc95fd6adc6961fdbe275d3df2c96b614e5ec548b026220b3c96ee2eb738a83
Contents?: true
Size: 645 Bytes
Versions: 4
Compression:
Stored size: 645 Bytes
Contents
// Copyright 2012 Twitter, Inc // http://www.apache.org/licenses/LICENSE-2.0 var TwitterCldr = require('../../../../lib/assets/javascripts/twitter_cldr/ko.js'); describe("ShortDecimalFormatter", function() { beforeEach(function() { formatter = new TwitterCldr.ShortDecimalFormatter(); }); describe("#format", function() { it("formats a number as is if the pattern is not defined for the locale", function() { expect(formatter.format(7000)).toEqual("7000"); }); it("formats a number in terms of 'ten thousands' correctly", function() { expect(formatter.format(93000000)).toEqual("9300만"); }); }); });
Version data entries
4 entries across 4 versions & 1 rubygems