From 1fcc227804555fb92bd14ec4db36bc8e2a877a67 Mon Sep 17 00:00:00 2001 From: Hugh Kramer Date: Mon, 11 Mar 2024 21:17:44 -0400 Subject: [PATCH] updated tests for wordle and plurality --- plurality/testing.c | 2 +- wordle/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plurality/testing.c b/plurality/testing.c index 60047f76..71d1c490 100644 --- a/plurality/testing.c +++ b/plurality/testing.c @@ -81,7 +81,7 @@ int main(int argc, string argv[]) case 8: candidates[0].votes = 1; candidates[1].votes = 8; - candidates[2].votes = 2; + candidates[2].votes = 1; print_winner(); break; diff --git a/wordle/__init__.py b/wordle/__init__.py index 20c5ef81..eb4f406d 100644 --- a/wordle/__init__.py +++ b/wordle/__init__.py @@ -110,5 +110,5 @@ def partial_multiple_matches(): @check50.check(compiles) def exact_match(): """wordle recognizes correct guess""" - for word in ["gnome", "sized", "world"]: + for word in ["grill", "sized", "world"]: check50.c.run(f"./wordle_test check_word {word} {word}").stdout(10)