public static void Circle() { Assert.InRange(PatternMatch.Perimeter(circle), 18, 19); }
public static void Rectangle() { Assert.Equal(12, PatternMatch.Perimeter(rectangle)); }
public static void Triangle() { Assert.Equal(6, PatternMatch.Perimeter(triangle)); }
public static void Square() { Assert.Equal(8, PatternMatch.Perimeter(square)); }
public static void IncorrectInput() { Assert.Equal(0, PatternMatch.Perimeter("test")); }
public static void NoInput() { Assert.Equal(0, PatternMatch.Perimeter()); }