public void ConcatenatedProduct_Of9AndNumbers1To5_ReturnsCorrectString() { // Arrange var integer = 9; var numbersToMultiplyWith = new List <int> { 1, 2, 3, 4, 5 }; var expectedResult = "918273645"; // Act var result = PandigitalHelper.ConcatenatedProduct(integer, numbersToMultiplyWith); // ASsert result.Should().Be(expectedResult); }
public void ConcatenatedProduct_Of192AndNumbers1To3_ReturnsCorrectString() { // Arrange var integer = 192; var numbersToMultiplyWith = new List <int> { 1, 2, 3 }; var expectedResult = "192384576"; // Act var result = PandigitalHelper.ConcatenatedProduct(integer, numbersToMultiplyWith); // ASsert result.Should().Be(expectedResult); }