Skip to content

Instantly share code, notes, and snippets.

@seesharper
Created December 9, 2017 17:59
Show Gist options
  • Save seesharper/69abff09b27a6fcf8361ef3082c280fd to your computer and use it in GitHub Desktop.
Save seesharper/69abff09b27a6fcf8361ef3082c280fd to your computer and use it in GitHub Desktop.
#load "Calculator.csx"
#load "TestRunner.csx"
#r "nuget:FluentAssertions, 4.19.4"
using FluentAssertions;
RunTestsFrom<CalculatorTests>();
public class CalculatorTests : IDisposable
{
public CalculatorTests()
{
// Test class setup
}
public void Dispose()
{
// Test class teardown
}
public void ShouldAddNumbers()
{
var result = Add(2,2);
result.Should().Be(5);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment