Skip to content

Instantly share code, notes, and snippets.

Created Jan 1, 2021
What would you like to do?
using System;
using Xunit;
namespace UnitTests
public class MathEvaluatorTest
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