Add unit tests for generateNumberToBeGuessed() and isCorrectGuess() methods

- Verified structure and value bounds of generateNumberToBeGuessed()
- Tested correct and incorrect input behavior of isCorrectGuess()
- Set up JUnit 5 with @BeforeEach for Game instantiation
- Improved test readability with @DisplayName annotations
This commit is contained in:
2025-03-23 12:55:32 -05:00
commit 93008219c2
10 changed files with 307 additions and 0 deletions

14
.idea/misc.xml generated Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_23" default="true" project-jdk-name="openjdk-23" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>