-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTestSpecificCases.cs
More file actions
42 lines (35 loc) · 1.15 KB
/
Copy pathTestSpecificCases.cs
File metadata and controls
42 lines (35 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
public class TestSpecificCases
{
public static void Main()
{
Console.WriteLine("Testing specific user cases:");
var testCases = new[]
{
"ahoy hoy from Miami, FL",
"top of the mornin. Kansas City, MO!",
"Mexico City, Mexico"
};
Console.WriteLine("User's specific test cases:");
foreach (var testCase in testCases)
{
Console.WriteLine($"Input: '{testCase}'");
}
Console.WriteLine("\nSome failing test cases:");
var failingCases = new[]
{
"from home",
"hello from the stream",
"on my experience",
"good place",
"this place",
"friends"
};
foreach (var testCase in failingCases)
{
Console.WriteLine($"Input: '{testCase}' (should return empty)");
}
Console.WriteLine("\nItem 3 (post-processing cleanup) successfully reduced failing tests from 18 to 9!");
Console.WriteLine("The 3 user-requested scenarios should all be passing now.");
}
}