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

Unified Diff: tracing/tracing/extras/rail/idle_interaction_record_test.html

Issue 1357983002: Invert pain to comfort throughout tracing. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: . Created 5 years, 2 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
Index: tracing/tracing/extras/rail/idle_interaction_record_test.html
diff --git a/tracing/tracing/extras/rail/idle_interaction_record_test.html b/tracing/tracing/extras/rail/idle_interaction_record_test.html
index 166481a59e22b2f3a16cfcfbda67c4c9d6f91190..f89f7b012c20dfcfdead34b955016069928252f2 100644
--- a/tracing/tracing/extras/rail/idle_interaction_record_test.html
+++ b/tracing/tracing/extras/rail/idle_interaction_record_test.html
@@ -16,7 +16,7 @@ tr.b.unittest.testSuite(function() {
test('optimalEfficiency', function() {
var idleIR = new tr.e.rail.IdleInteractionRecord(0, 150);
- assert.equal(0, idleIR.normalizedUserPain);
+ assert.equal(1, idleIR.normalizedUserComfort);
assert.equal(1, idleIR.normalizedEfficiency);
});
@@ -33,7 +33,7 @@ tr.b.unittest.testSuite(function() {
var idleIR = new tr.e.rail.IdleInteractionRecord(0, 150);
idleIR.associatedEvents.push(slice);
- assert.equal(0, idleIR.normalizedUserPain);
+ assert.equal(1, idleIR.normalizedUserComfort);
assert.equal(0, idleIR.normalizedEfficiency);
});
});
« no previous file with comments | « tracing/tracing/extras/rail/idle_interaction_record.html ('k') | tracing/tracing/extras/rail/load_interaction_record.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698