public async Task TestAwait() { var result1 = await SampleCode.Example1(); var result2 = await SampleCode.Example2(); result1.ShouldBe(false); result2.ShouldBe(true); }
public void TestWords(string value, string expected) { var result = SampleCode.ReverseWords(value); result.ShouldBe(expected); }
public void Test() { var result = SampleCode.Reverse("Abc"); result.ShouldBe("cbA"); }