Add negative Android provenance checks and short tap exercise

This commit is contained in:
NINI
2026-10-05 03:51:27 +09:00
parent 92cbb52b73
commit f3f1f14fb1
3 changed files with 31 additions and 3 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ try {
Step 'final-02-selection' @('shell','input','tap','1200','616')
Start-Audio 'audio-online-guidecollect' 8
Step 'final-03-stage' @('shell','input','tap','1200','560') 2500
Step 'final-04-precollect-tap' @('shell','input','swipe','930','510','930','510','200')
Step 'final-04-precollect-tap' @('shell','input','tap','930','510')
$uncollected=Save-State 'final-04-uncollected'
Assert-State 'direct-collection-required' ($uncollected.puzzleStates[0].collectedBallIds.Count -eq 0 -and $uncollected.puzzleStates[0].countedBallIds.Count -eq 0 -and $uncollected.completedStageIds.Count -eq 0) ($uncollected | ConvertTo-Json -Depth 8 -Compress)
Start-Audio 'audio-online-guidecount' 8
@@ -53,7 +53,7 @@ try {
$after=Save-State 'final-07-incomplete-after'
Assert-State 'incomplete-json-restored' (($before | ConvertTo-Json -Depth 8 -Compress) -eq ($after | ConvertTo-Json -Depth 8 -Compress)) '배치/카메라/그룹/수집/빈 계수 전체 JSON 동일'
Start-Audio 'audio-online-count01' 8
Step 'final-08-success-same-board' @('shell','input','swipe','1182','514','1182','514','200') 1500
Step 'final-08-success-same-board' @('shell','input','tap','1182','514') 1500
$success=Save-State 'final-08-success'
Assert-State 'completion-atomic-state' ($success.completedStageIds.Count -eq 1 -and $success.completedStageIds[0] -eq 1 -and $success.puzzleStates.Count -eq 0 -and $success.latestFreePlay.sourceStageId -eq 1) ($success | ConvertTo-Json -Depth 8 -Compress)
Assert-State 'success-preserves-board-camera' (($before.puzzleStates[0].balls | ConvertTo-Json -Depth 6 -Compress) -eq ($success.latestFreePlay.balls | ConvertTo-Json -Depth 6 -Compress) -and ($before.puzzleStates[0].camera | ConvertTo-Json -Depth 6 -Compress) -eq ($success.latestFreePlay.camera | ConvertTo-Json -Depth 6 -Compress)) '성공 전후 balls/camera 동일'
@@ -88,7 +88,7 @@ try {
Step 'final-12-offline-collect' @('shell','input','swipe','930','510','1200','510','800') 4500
$offlineCollected=Save-State 'final-12-offline-collected'
Assert-State 'offline-collected-unfinished' ($offlineCollected.puzzleStates.Count -eq 1 -and $offlineCollected.puzzleStates[0].collectedBallIds.Count -eq 1 -and $offlineCollected.puzzleStates[0].countedBallIds.Count -eq 0) '오프라인 실제 수집됨/계수 전 0'
Step 'final-12-offline-count-success' @('shell','input','swipe','1182','510','1182','510','200') 1500
Step 'final-12-offline-count-success' @('shell','input','tap','1182','510') 1500
$offlineSuccess=Save-State 'final-12-offline-success'
Assert-State 'offline-collection-count-actually-success' ($offlineSuccess.completedStageIds.Count -eq 1 -and $offlineSuccess.completedStageIds[0] -eq 1 -and $offlineSuccess.puzzleStates.Count -eq 0 -and $offlineSuccess.latestFreePlay.sourceStageId -eq 1 -and ($offlineCollected.puzzleStates[0].balls | ConvertTo-Json -Depth 6 -Compress) -eq ($offlineSuccess.latestFreePlay.balls | ConvertTo-Json -Depth 6 -Compress)) '완료1/미완료없음/수집 전후 같은 IDs와 배치 자유 전이'
Step 'final-13-offline-free-move' @('shell','input','swipe','1182','510','1350','450','800')