Sha256: cf83f38c42946d32fd4b191d43dd4cc2010138070b6be77e033633e4c08a206d
Contents?: true
Size: 643 Bytes
Versions: 4
Compression:
Stored size: 643 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("LongDecimalFormatter", function() { beforeEach(function() { formatter = new TwitterCldr.LongDecimalFormatter(); }); 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