Skip to content

Commit b23a716

Browse files
darts: add template
1 parent bc826c5 commit b23a716

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using Xunit;
2+
3+
public class DartsTests
4+
{
5+
{{#test_cases}}
6+
[Fact{{#unless @first}}(Skip = "Remove this Skip property to run this test"){{/unless}}]
7+
public void {{test_method_name}}()
8+
{
9+
Assert.Equal({{expected}}, Darts.Score({{input.x}}, {{input.y}}));
10+
}
11+
{{/test_cases}}
12+
}

exercises/practice/darts/DartsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Xunit;
22

3-
public class DartsTests
3+
public class DartssTests
44
{
55
[Fact]
66
public void Missed_target()

0 commit comments

Comments
 (0)