public void ShouldReturnExpectedValueOfRegexCoins() { SystemVendorMachine vendorMachine = new SystemVendorMachine(); Assert.Equal("0.50 1.00", vendorMachine.RegexRemoveProducts("0.50 Coke 1.00 Coke Coke")); Assert.Equal("0.50 1.00 1.00", vendorMachine.RegexRemoveProducts("0.50 Coke 1.00 1.00 Coke Coke")); Assert.Equal("0.50 0.50 1.00", vendorMachine.RegexRemoveProducts("0.50 Coke 0.50 1.00 Coke Coke")); Assert.Equal("0.50 1.00 0.05", vendorMachine.RegexRemoveProducts("0.50 Coke 1.00 0.05 Coke")); }