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

Side by Side Diff: samples/third_party/dromaeo/tests/Common.dart

Issue 9374026: Move dromaeo to third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moved Dromaeo to third party. Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 class Result { 1 class Result {
2 int get runs() { return _sorted.length; } 2 int get runs() { return _sorted.length; }
3 3
4 double get sum() { 4 double get sum() {
5 double result = 0.0; 5 double result = 0.0;
6 _sorted.forEach((double e) { result += e; }); 6 _sorted.forEach((double e) { result += e; });
7 return result; 7 return result;
8 } 8 }
9 9
10 double get min() { return _sorted[0]; } 10 double get min() { return _sorted[0]; }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 Result._internal(this._sorted) {} 44 Result._internal(this._sorted) {}
45 45
46 List<double> _sorted; 46 List<double> _sorted;
47 47
48 // Populated from: http://www.medcalc.be/manual/t-distribution.php 48 // Populated from: http://www.medcalc.be/manual/t-distribution.php
49 // 95% confidence for N - 1 = 4 49 // 95% confidence for N - 1 = 4
50 static final double T_DISTRIBUTION = 2.776; 50 static final double T_DISTRIBUTION = 2.776;
51 } 51 }
OLDNEW
« no previous file with comments | « samples/third_party/dromaeo/test-tail.html ('k') | samples/third_party/dromaeo/tests/RunnerSuite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698