-
-
Save fbanke/df3443d072bae4a2f1ddfaf579b2ea79 to your computer and use it in GitHub Desktop.
This file contains 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
using System; | |
using Xunit; | |
namespace UnitTests | |
{ | |
public class MathEvaluatorTest | |
{ | |
[Fact] | |
public void Should_GivenFiveTimesEight_GiveForty() | |
{ | |
var expression = "5 * 8"; | |
var sut = new MathEvaluator(); | |
Assert.Equal(40, sut.Evaluate(expression)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment