Skip to content

Commit bc826c5

Browse files
sublist: add template
1 parent 57b711c commit bc826c5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
using System.Collections.Generic;
2+
using Xunit;
3+
4+
public class SublistTests
5+
{
6+
{{#test_cases}}
7+
[Fact{{#unless @first}}(Skip = "Remove this Skip property to run this test"){{/unless}}]
8+
public void {{test_method_name}}()
9+
{
10+
Assert.Equal(SublistType.{{capitalize expected}}, Sublist.Classify(new List<int>{{#isempty input.listOne}}(){{else}} { {{../input.listOne}} }{{/isempty}}, new List<int>{{#isempty input.listTwo}}(){{else}} { {{../input.listTwo}} }{{/isempty}}));
11+
}
12+
{{/test_cases}}
13+
}

0 commit comments

Comments
 (0)