Skip to content

Instantly share code, notes, and snippets.

@brockthebear
Created September 11, 2018 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brockthebear/c5df86c8adddd61fd0007268dd40aeaf to your computer and use it in GitHub Desktop.
Save brockthebear/c5df86c8adddd61fd0007268dd40aeaf to your computer and use it in GitHub Desktop.
using System;
public class HelloWorld
{
private const string Greetings = "Hello, World!";
public string Hello()
{
return Greetings;
}
}
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