Skip to content

Instantly share code, notes, and snippets.

@mstfymrtc
Created June 27, 2021 21:29
Show Gist options
  • Save mstfymrtc/6ea8b63e54a4961044a803ae8383121c to your computer and use it in GitHub Desktop.
Save mstfymrtc/6ea8b63e54a4961044a803ae8383121c to your computer and use it in GitHub Desktop.
using NUnit.Framework;
namespace Example.Tests
{
public class Tests
{
[Test]
public void Sum_GivenSecondArgumantAsZero_ShouldCalculateProperly()
{
var actual = Utilities.Sum(1,0);
var expected = 1;
Assert.AreEqual(expected,actual);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment