We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72e322 commit 6ecca5cCopy full SHA for 6ecca5c
exercises/practice/rail-fence-cipher/.meta/Generator.tpl
@@ -0,0 +1,15 @@
1
+using Xunit;
2
+
3
+public class {{testClass}}
4
+{
5
+ {{for test in tests}}
6
+ [Fact{{if !for.first}}(Skip = "Remove this Skip property to run this test"){{end}}]
7
+ public void {{test.shortTestMethod}}()
8
+ {
9
+ var msg = {{test.input.msg | string.literal}};
10
+ var sut = new RailFenceCipher({{test.input.rails}});
11
+ var expected = {{test.expected | string.literal}};
12
+ Assert.Equal(expected, sut.{{test.testedMethod}}(msg));
13
+ }
14
+ {{end}}
15
+}
0 commit comments