整个课程和数据UI重新设计版本

This commit is contained in:
shenlei
2026-09-18 17:55:44 +09:00
parent febfd30f49
commit 0a4f97d105
154 changed files with 12366 additions and 4784 deletions
@@ -0,0 +1,11 @@
import 'dart:async';
import 'package:flutter_test/flutter_test.dart';
import 'package:kouyu_english/core/courses/course_repository.dart';
/// Every test sees the A0 course, just like the app after `main` loads it.
Future<void> testExecutable(FutureOr<void> Function() testMain) async {
TestWidgetsFlutterBinding.ensureInitialized();
await CourseRepository.instance.load(levels: {'A0'});
await testMain();
}