✅ why does the test case fail? - C#