From 6bec75ad2bd30c33cff8f51e013d6cdac9d45d72 Mon Sep 17 00:00:00 2001 From: Hixie Date: Wed, 17 Jun 2015 15:44:20 -0700 Subject: [PATCH] Add a test for the sector app. This also moves the test for stocks into a new tests/examples/ directory, where we can put tests that test the examples. TBR=abarth Review URL: https://codereview.chromium.org/1182223004. --- examples/widgets/sector.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/widgets/sector.dart b/examples/widgets/sector.dart index ff0ff60b734..1bf38a3e325 100644 --- a/examples/widgets/sector.dart +++ b/examples/widgets/sector.dart @@ -28,7 +28,7 @@ RenderBox initCircle() { class SectorApp extends App { RenderBoxToRenderSectorAdapter sectors = initCircle(); - math.Random rand = new math.Random(); + math.Random rand = new math.Random(1); void addSector() { double deltaTheta;