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