public void Caliber_IsValid(string input, string expected) { // Arrange var parser = new CaliberParser(); // Act var actual = parser.Parse(input); // Assert Assert.Equal(expected, actual); }
public static string GetCaliber(this string description) { return(Caliber.Parse(description)); }