Created
December 9, 2017 17:59
-
-
Save seesharper/69abff09b27a6fcf8361ef3082c280fd 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
#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