12 lines
383 B
Dart
12 lines
383 B
Dart
import 'package:integration_test/integration_test.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:ccc_cryptography/ccc_cryptography.dart';
|
|
|
|
void main() {
|
|
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
|
|
setUpAll(() async => await RustLib.init());
|
|
test('Can call rust function', () async {
|
|
expect(greet(name: "Tom"), "Hello, Tom!");
|
|
});
|
|
}
|