1 // Copyright 2026 Splitfire AB (Onde Inference). All rights reserved.
2 // SPDX-License-Identifier: MIT OR Apache-2.0
3
4 import 'package:flutter_test/flutter_test.dart';
5
6 import 'package:onde_inference_example/main.dart';
7
8 void main() {
9 testWidgets('OndeInferenceApp builds without crashing',
10 (WidgetTester tester) async {
11 // Make sure the root widget can be constructed.
12 // Full integration tests need the native inference library first.
13 // Run `flutter build` or `cargo build` in sdk/dart/rust/ before running
14 // widget tests that actually hit the engine.
15 expect(const OndeInferenceApp(), isA<OndeInferenceApp>());
16 });
17 }