private TagShape(ShapeCase tag, double radius, double height, double width) { Tag = tag; Radius = radius; Height = height; Width = width; }
private TagShape(ShapeCase tag, double radius, double height, double width, double sideLen) { Tag = tag; Radius = radius; Height = height; Width = width; SideLen = sideLen; }
public void WhatIsthis_UsingCase_ValueMatches(ShapeCase test) { // Arrange var expected = test.Type; // Act var actual = Shapes.WhatIsthis(test.A, test.B, test.C); // Assert Assert.AreEqual( expected, actual, "A:{0} B:{1} C:{2} = {3}, but received {4}", test.A, test.B, test.C, expected, actual ); }