Esempio n. 1
0
        public void ShouldGenerateCorrectResult(int value, int adjustment, string expectedResult)
        {
            var generator     = new RowGeneratorMinutesSecond();
            var adjustedValue = value - adjustment;
            var result        = generator.Generate(adjustedValue);

            Assert.That(result, Is.EqualTo(expectedResult));
        }
Esempio n. 2
0
        public void ThenExpectedMinutesSecondRowOutputShouldBe(string expectedMinutesSecondRowOutput)
        {
            var result = _minutesSecondRow.Generate(_thisMinute);

            Assert.AreEqual(result, expectedMinutesSecondRowOutput);
        }