Created
September 11, 2018 21:59
-
-
Save brockthebear/c5df86c8adddd61fd0007268dd40aeaf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public class HelloWorld | |
{ | |
private const string Greetings = "Hello, World!"; | |
public string Hello() | |
{ | |
return Greetings; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xunit; | |
public class HelloWorldTest | |
{ | |
[Fact] | |
public void Say_hi_() | |
{ | |
Assert.Equal("Hello, World!", HelloWorld.Hello()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment