| Index: tests/lib_strong/math/random_secure_test.dart
|
| diff --git a/tests/lib_strong/math/random_secure_test.dart b/tests/lib_strong/math/random_secure_test.dart
|
| index 33a563ef45f9a4aedc59755eb174fbedb0ebd694..ef49367f339a125eae851de2c2e8f7c7af8961ea 100644
|
| --- a/tests/lib_strong/math/random_secure_test.dart
|
| +++ b/tests/lib_strong/math/random_secure_test.dart
|
| @@ -28,7 +28,7 @@ main() {
|
| };
|
| results = [];
|
| rng0 = new Random.secure();
|
| - for(var i = 0; i <= 32; i++) {
|
| + for (var i = 0; i <= 32; i++) {
|
| rng1 = new Random.secure();
|
| checkInt(pow(2, 32));
|
| checkInt(pow(2, 32 - i));
|
| @@ -44,14 +44,14 @@ main() {
|
| };
|
| results = [];
|
| rng0 = new Random.secure();
|
| - for(var i = 0; i < 32; i++) {
|
| + for (var i = 0; i < 32; i++) {
|
| rng1 = new Random.secure();
|
| checkDouble();
|
| }
|
| var cnt0 = 0;
|
| var cnt1 = 0;
|
| rng0 = new Random.secure();
|
| - for(var i = 0; i < 32; i++) {
|
| + for (var i = 0; i < 32; i++) {
|
| rng1 = new Random.secure();
|
| cnt0 += rng0.nextBool() ? 1 : 0;
|
| cnt1 += rng1.nextBool() ? 1 : 0;
|
| @@ -59,4 +59,3 @@ main() {
|
| Expect.isTrue((cnt0 > 0) && (cnt0 < 32));
|
| Expect.isTrue((cnt1 > 0) && (cnt1 < 32));
|
| }
|
| -
|
|
|