mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
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.
This commit is contained in:
parent
1133260198
commit
6bec75ad2b
@ -28,7 +28,7 @@ RenderBox initCircle() {
|
|||||||
class SectorApp extends App {
|
class SectorApp extends App {
|
||||||
|
|
||||||
RenderBoxToRenderSectorAdapter sectors = initCircle();
|
RenderBoxToRenderSectorAdapter sectors = initCircle();
|
||||||
math.Random rand = new math.Random();
|
math.Random rand = new math.Random(1);
|
||||||
|
|
||||||
void addSector() {
|
void addSector() {
|
||||||
double deltaTheta;
|
double deltaTheta;
|
||||||
|
Loading…
Reference in New Issue
Block a user