From a1ac0a8aa5620d6f15a369f58640f65c31b94111 Mon Sep 17 00:00:00 2001 From: PA Dev Bot <344001113+pa-devbot@users.noreply.github.com> Date: Wed, 11 Nov 2026 01:26:43 +0000 Subject: [PATCH] Add 10-job test case for PokemonSV_ItemPrinterJobsDetector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds the 10-print material selection screen (Japanese, 打印回数 10回, 30 BP) as a second test image expecting detect_jobs() == 10. The image lives in PokemonAutomation/CommandLineTests (new PR); until it is merged, this test fails with a missing file in CI. Verified locally: both Item Printer jobs detector tests pass (20,518 passed, 0 failed). --- .../ItemPrinter/PokemonSV_ItemPrinterJobsDetector.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SerialPrograms/Source/VideoGames/PokemonSV/Inference/ItemPrinter/PokemonSV_ItemPrinterJobsDetector.cpp b/SerialPrograms/Source/VideoGames/PokemonSV/Inference/ItemPrinter/PokemonSV_ItemPrinterJobsDetector.cpp index 10f3a10123..a73d60a464 100644 --- a/SerialPrograms/Source/VideoGames/PokemonSV/Inference/ItemPrinter/PokemonSV_ItemPrinterJobsDetector.cpp +++ b/SerialPrograms/Source/VideoGames/PokemonSV/Inference/ItemPrinter/PokemonSV_ItemPrinterJobsDetector.cpp @@ -188,6 +188,10 @@ void add_tests_ItemPrinterJobsDetector(UnitTestDatabase& database){ "PokemonSV/ItemPrinterJobsDetector/Japanese_Jobs_1.png", 1 ); + database.add( + "PokemonSV/ItemPrinterJobsDetector/Japanese_Jobs_10.png", + 10 + ); }