Files
gps-speedo/test/widget_test.dart
T
Mikkeli Matlock bab90a9830 Complete v2.0 ultra-lightweight rebuild with premium color themes
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-24 22:35:20 +09:00

22 lines
774 B
Dart

// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility in the flutter_test package. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:gps_speedo/main.dart';
void main() {
testWidgets('GPS Speedometer app loads', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const GpsSpeedoApp());
// Verify that the app loads with the title
expect(find.text('0'), findsOneWidget);
});
}