Esempio n. 1
0
        public void EqualsOtherSutReturnsCorrectResult(
            int sutAmount,
            int otherAmount,
            bool expected)
        {
            var sut   = new Discount(sutAmount);
            var other = new Discount(otherAmount);

            var actual = sut.BothEquals(other);

            Assert.True(actual.All(expected.Equals));
        }