Skip to content

Commit 1e538f8

Browse files
committed
Fix test.
1 parent 581748d commit 1e538f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SerialPrograms/Source/Tests/PokemonSwSh_Tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ std::vector<ImagePixelBox> find_selection_arrows(const ImageViewRGB32& image, si
3939
using namespace NintendoSwitch::PokemonSwSh;
4040

4141
int test_pokemonSwSh_YCommMenuDetector(const ImageViewRGB32& image, bool target){
42-
YCommMenuWatcher detector(true);
42+
YCommMenuDetector detector(true);
4343

44-
bool result = detector.process_frame(image, current_time());
44+
bool result = detector.detect(image);
4545
TEST_RESULT_EQUAL(result, target);
4646
return 0;
4747
}

0 commit comments

Comments
 (0)