Shaun Reed d1fb33c58e [dotnet] Add dotnet projects and examples
+ Sitemap generator I created while learning the dispose pattern
+ Testing project for learning general C#
2022-05-04 14:59:17 -04:00

22 lines
416 B
C#

using Xunit;
namespace KlipsLibrary.Test;
public class UnitTest1
{
[Fact]
public void DogTest()
{
var dog = new Dog("Buford", "Woof");
Assert.Equal("Buford", dog.Name);
dog.Speak();
}
[Fact]
public void HumanTest()
{
var human = new Human("Shaun", "Hi");
Assert.Equal("Shaun", human.Name);
human.Speak();
}
}