Skip to content

Commit

Permalink
chore: regenerated goldens
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodev01 committed Sep 9, 2022
1 parent 33c13d8 commit feda209
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 90 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:equations_solver/routes/integral_page/integral_data_input.dart';
import 'package:equations_solver/routes/integral_page/integral_results.dart';
import 'package:equations_solver/routes/integral_page/utils/dropdown_selection.dart';
import 'package:equations_solver/routes/integral_page/utils/integral_plot_widget.dart';
import 'package:equations_solver/routes/utils/body_pages/go_back_button.dart';
import 'package:equations_solver/routes/utils/input_kind_dialog_button.dart';
import 'package:equations_solver/routes/utils/no_results.dart';
Expand Down Expand Up @@ -80,36 +79,6 @@ void main() {
},
);

testWidgets(
'Making sure the chart does NOT appear on smaller screens',
(tester) async {
await tester.binding.setSurfaceSize(const Size(250, 2000));

await tester.pumpWidget(
MockIntegralWidget(
textControllers: [
TextEditingController(),
TextEditingController(),
TextEditingController(),
],
),
);

expect(
find.byKey(const Key('SingleChildScrollView-mobile-responsive')),
findsOneWidget,
);
expect(
find.byKey(const Key('SingleChildScrollView-desktop-responsive')),
findsNothing,
);
expect(
find.byType(IntegralPlotWidget),
findsNothing,
);
},
);

testWidgets('Making sure that simpson solver works', (tester) async {
await tester.pumpWidget(
MockIntegralWidget(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:equations_solver/routes/nonlinear_page/model/nonlinear_state.dar
import 'package:equations_solver/routes/nonlinear_page/nonlinear_body.dart';
import 'package:equations_solver/routes/nonlinear_page/nonlinear_data_input.dart';
import 'package:equations_solver/routes/nonlinear_page/nonlinear_results.dart';
import 'package:equations_solver/routes/nonlinear_page/utils/nonlinear_plot_widget.dart';
import 'package:equations_solver/routes/utils/body_pages/go_back_button.dart';
import 'package:equations_solver/routes/utils/input_kind_dialog_button.dart';
import 'package:equations_solver/routes/utils/no_results.dart';
Expand Down Expand Up @@ -81,35 +80,6 @@ void main() {
},
);

testWidgets(
'Making sure the chart does NOT appear on smaller screens',
(tester) async {
await tester.binding.setSurfaceSize(const Size(250, 2000));

await tester.pumpWidget(
MockNonlinearWidget(
textControllers: [
TextEditingController(),
TextEditingController(),
],
),
);

expect(
find.byKey(const Key('SingleChildScrollView-mobile-responsive')),
findsOneWidget,
);
expect(
find.byKey(const Key('SingleChildScrollView-desktop-responsive')),
findsNothing,
);
expect(
find.byType(NonlinearPlotWidget),
findsNothing,
);
},
);

testWidgets(
'Making sure that single point equations works',
(tester) async {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,35 +84,6 @@ void main() {
},
);

testWidgets(
'Making sure the chart does NOT appear on smaller screens',
(tester) async {
await tester.binding.setSurfaceSize(const Size(250, 1800));

await tester.pumpWidget(
MockPolynomialWidget(
textControllers: [
TextEditingController(),
TextEditingController(),
],
),
);

expect(
find.byKey(const Key('SingleChildScrollView-mobile-responsive')),
findsOneWidget,
);
expect(
find.byKey(const Key('SingleChildScrollView-desktop-responsive')),
findsNothing,
);
expect(
find.byType(PolynomialPlotWidget),
findsNothing,
);
},
);

testWidgets('Making sure that solving linear eq. works', (tester) async {
await tester.pumpWidget(
MockPolynomialWidget(
Expand Down

0 comments on commit feda209

Please sign in to comment.