Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: tracing/tracing/value/unit_test.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tracing/tracing/value/unit.html ('k') | tracing/tracing/value/value.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/unit_test.html
diff --git a/tracing/tracing/value/unit_test.html b/tracing/tracing/value/unit_test.html
index 2c355f9831ab70b76e654fbcf1d2f9a2d61d2294..6f9344fd2d566c6cd5b0d2b80a8a4dc84a97b0ee 100644
--- a/tracing/tracing/value/unit_test.html
+++ b/tracing/tracing/value/unit_test.html
@@ -220,5 +220,11 @@ tr.b.unittest.testSuite(function() {
assert.equal(Unit.byName.unitlessNumber.format(-1.23), '-1.230');
assert.equal(Unit.byName.unitlessNumber.format(0), '0.000');
});
+
+ test('count', function() {
+ assert.equal(Unit.byName.count.format(0), '0');
+ assert.equal(Unit.byName.count.format(1), '1');
+ assert.equal(Unit.byName.count.format(100), '100');
+ });
});
</script>
« no previous file with comments | « tracing/tracing/value/unit.html ('k') | tracing/tracing/value/value.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698