diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4da9e8b..c9dbd98 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + @@ -135,7 +74,6 @@ - @@ -165,6 +103,7 @@ + @@ -281,7 +220,7 @@ - + @@ -331,68 +270,22 @@ + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/eight_queens/test/widget_test.dart b/eight_queens/test/widget_test.dart index ff352f5..dac569c 100644 --- a/eight_queens/test/widget_test.dart +++ b/eight_queens/test/widget_test.dart @@ -56,24 +56,5 @@ void main() { //Expect the new page to be shown expect(find.byType(ResultsPage),findsOneWidget); }); - - testWidgets('App with invalid input wont show results widget', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(MyApp()); - - // Enter a number into the textfield - await tester.enterText(find.byType(TextField), '0'); - - //Tap the button to go to the next screen - await tester.tap(find.byIcon(Icons.done)); - - // Wait for it to be shown - await tester.pumpAndSettle(); - - //Expect the new page to be shown - expect(find.byType(ResultsPage),findsNothing); - }); - - }); }