Add tests for event occurrence parsing results for 2024 and 2025 competitions

This commit introduces new unit tests in EventOccurrenceParser_Tests to analyze and validate the parsing results for the 2025 Nationals, 2025 State, and 2024 State competitions. Each test verifies that the parser returns valid results without exceptions and provides detailed output on the total lines, occurrences parsed, and issues found. Additionally, a new method in TestEntityHandler has been added to retrieve the 2024 State competition event times file, supporting the new tests.
This commit is contained in:
2026-01-07 08:37:00 -05:00
parent 2d3b29176f
commit c937192496
2 changed files with 138 additions and 0 deletions
+5
View File
@@ -27,6 +27,11 @@ public static class TestEntityHandler
return FileUtility.GetContentFile(ContentDirectory, "2025 TN TSA State Competition Event Times.txt");
}
public static FileInfo GetEventOccurrenceState2024FileInfo()
{
return FileUtility.GetContentFile(ContentDirectory, "2024 TN TSA State Competition Event Times.txt");
}
public static Student[] GetStudents(IList<EventDefinition> events)
{
//var studentEventRankingsCsv = "Student Event Rankings.csv";