public void TestSpin(int steps, string expected) { var sut = new Spin($"s{steps}"); var dancers = "abcde"; var result = sut.Execute(dancers); Assert.Equal(expected, result); }
public void ShouldSpin(string test, int[] randomNumbers, int expectedCoefficients) { // arrange _recordedNumbers.AddMany(randomNumbers); // act int coefficient = _spin.Execute().Coefficient; // assert coefficient.Should().Be(expectedCoefficients); }