Download novelforge-project/flutter/examples/texture/test/texture_test.dart from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 544 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/novelforge-project/flutter/examples/texture/test/texture_test.dart
- Command line
-
hf download hf://luom2645/agent-workspace/novelforge-project/flutter/examples/texture/test/texture_test.dart
-
curl -L -o texture_test.dart https://huggingface.co/luom2645/agent-workspace/resolve/main/novelforge-project/flutter/examples/texture/test/texture_test.dart
544 Bytes
| // Copyright 2014 The Flutter Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| import 'package:flutter_test/flutter_test.dart'; | |
| import 'package:texture/main.dart' as texture; | |
| void main() { | |
| testWidgets('Texture smoke test', (WidgetTester tester) async { | |
| texture | |
| .main(); // builds the app and schedules a frame but doesn't trigger one | |
| await tester.pump(); // triggers a frame | |
| expect(find.text('Flutter Blue'), findsOneWidget); | |
| }); | |
| } | |