1 // Copyright 2026 Onde Inference (Splitfire AB). All rights reserved.
2 // Use of this source code is governed by the MIT license.
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 // Verify the root widget can be constructed.
12 // Full integration tests require the native inference library to be
13 // compiled first — run `flutter build` or `cargo build` in sdk/dart/rust/
14 // before running widget tests that exercise the engine.
15 expect(const OndeInferenceApp(), isA<OndeInferenceApp>());
16 });
17 }