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

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

Issue 11567059: "Fix" up library names in dromaeo tests so dart2js doesn't complain. Also fix up get_archive.py for… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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 part of dromaeo;
2
1 class Result { 3 class Result {
2 int get runs { return _sorted.length; } 4 int get runs { return _sorted.length; }
3 5
4 double get sum { 6 double get sum {
5 double result = 0.0; 7 double result = 0.0;
6 _sorted.forEach((double e) { result += e; }); 8 _sorted.forEach((double e) { result += e; });
7 return result; 9 return result;
8 } 10 }
9 11
10 double get min { return _sorted[0]; } 12 double get min { return _sorted[0]; }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 44 }
43 45
44 Result._internal(this._sorted) {} 46 Result._internal(this._sorted) {}
45 47
46 List<double> _sorted; 48 List<double> _sorted;
47 49
48 // Populated from: http://www.medcalc.be/manual/t-distribution.php 50 // Populated from: http://www.medcalc.be/manual/t-distribution.php
49 // 95% confidence for N - 1 = 4 51 // 95% confidence for N - 1 = 4
50 static const double T_DISTRIBUTION = 2.776; 52 static const double T_DISTRIBUTION = 2.776;
51 } 53 }
OLDNEW
« no previous file with comments | « samples/third_party/dromaeo/common/Math2.dart ('k') | samples/third_party/dromaeo/tests/RunnerSuite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698