Stage 6 행성에 자기장 라인이 행성을 감싸며 바깥으로 번지는 연출

This commit is contained in:
Sn-Kinos
2026-10-22 01:25:27 +09:00
parent a2739a37f1
commit 6a1f97fbc2
2 changed files with 80 additions and 0 deletions
+18
View File
@@ -182,4 +182,22 @@ void main() {
await tester.pump(const Duration(seconds: 3));
});
});
testWidgets('Stage 6 은 자기장 라인이 행성을 감싼다(Figma 2024:20821) · Stage 5 는 없다', (tester) async {
Future<void> pumpStage(int stage) => tester.pumpWidget(
MaterialApp(
home: Center(
child: Planet25D(
image: 'assets/figma/planet-home.png',
size: 200,
stage: stage,
),
),
),
);
await pumpStage(6);
expect(find.byKey(const ValueKey('planet-field-lines')), findsOneWidget);
await pumpStage(5);
expect(find.byKey(const ValueKey('planet-field-lines')), findsNothing);
});
}