public void PaperRectangleIntoTriangleConverstion3() { double t_a = 30; double t_b = 150; double t_c = 30; double t_d = 150; Color t_color = Color.green; PaperRectangle t_rectangle = new PaperRectangle(t_a, t_b, t_c, t_d, t_color); double t_a1 = 2; double t_b1 = 2; double t_c1 = 2; PaperTriangle t_triangle = new PaperTriangle(t_a1, t_b1, t_c1, t_color); double ex_a = 2; double ex_b = 2; double ex_c = 2; Color ex_color = Color.green; PaperTriangle ex_triangle = new PaperTriangle(ex_a, ex_b, ex_c, ex_color); Assert.IsTrue(ex_triangle.Equals(t_triangle)); }
public void PaperTriangleCreation3() { double t_a = 6; double t_b = 8; double t_c = 10; Color t_color = Color.green; PaperTriangle t_triangle = new PaperTriangle(t_a, t_b, t_c, t_color); double ex_a = 6; double ex_b = 8; double ex_c = 10; Color ex_color = Color.green; PaperTriangle ex_triangle = new PaperTriangle(ex_a, ex_b, ex_c, ex_color); Assert.IsTrue(ex_triangle.Equals(t_triangle)); }
public void PaperTriangleCreation2() { double t_a = 1; double t_b = 1; double t_c = 1; Color t_color = Color.blue; PaperTriangle t_triangle = new PaperTriangle(t_a, t_b, t_c, t_color); double ex_a = 1; double ex_b = 1; double ex_c = 1; Color ex_color = Color.blue; PaperTriangle ex_triangle = new PaperTriangle(ex_a, ex_b, ex_c, ex_color); Assert.IsTrue(ex_triangle.Equals(t_triangle)); }
public void PaperTriangleCreation1() { double t_a = 4; double t_b = 5; double t_c = 3; Color t_color = Color.red; PaperTriangle t_triangle = new PaperTriangle(t_a, t_b, t_c, t_color); double ex_a = 4; double ex_b = 5; double ex_c = 3; Color ex_color = Color.red; PaperTriangle ex_triangle = new PaperTriangle(ex_a, ex_b, ex_c, ex_color); Assert.IsTrue(ex_triangle.Equals(t_triangle)); }
public void PaperCircleIntooTriangleConverstion3() { double t_r = 100; Color t_color = Color.blue; PaperCircle t_paperCircle = new PaperCircle(t_r, t_color); double t_a = 10; double t_b = 5; double t_c = 10; PaperTriangle t_paperTriangle = new PaperTriangle(t_a, t_b, t_c, t_paperCircle); double ex_a = 10; double ex_b = 5; double ex_c = 10; Color ex_color = Color.blue; PaperTriangle ex_paperTriangle = new PaperTriangle(ex_a, ex_b, ex_c, ex_color); Assert.IsTrue(ex_paperTriangle.Equals(t_paperTriangle)); }
public void PaperCircleIntooTriangleConverstion2() { double t_r = 25; Color t_color = Color.green; PaperCircle t_paperCircle = new PaperCircle(t_r, t_color); double t_a = 5; double t_b = 4; double t_c = 5; PaperTriangle t_paperTriangle = new PaperTriangle(t_a, t_b, t_c, t_paperCircle); double ex_a = 5; double ex_b = 4; double ex_c = 5; Color ex_color = Color.green; PaperTriangle ex_paperTriangle = new PaperTriangle(ex_a, ex_b, ex_c, ex_color); Assert.IsTrue(ex_paperTriangle.Equals(t_paperTriangle)); }
public void PaperCircleIntoTriangleConverstion1() { double t_r = 5; Color t_color = Color.red; PaperCircle t_paperCircle = new PaperCircle(t_r, t_color); double t_a = 1; double t_b = 1; double t_c = 1; PaperTriangle t_paperTriangle = new PaperTriangle(t_a, t_b, t_c, t_paperCircle); double ex_a = 1; double ex_b = 1; double ex_c = 1; Color ex_color = Color.red; PaperTriangle ex_paperTriangle = new PaperTriangle(ex_a, ex_b, ex_c, ex_color); Assert.IsTrue(ex_paperTriangle.Equals(t_paperTriangle)); }
public void PaperRectangleIntoTriangleConverstion1() { double t_a = 15; double t_b = 15; double t_c = 15; double t_d = 15; Color t_color = Color.blue; PaperRectangle t_rectangle = new PaperRectangle(t_a, t_b, t_c, t_d, t_color); double t_a1 = 15; double t_b1 = 15; double t_c1 = 15; PaperTriangle t_triangle = new PaperTriangle(t_a1, t_b1, t_c1, t_rectangle); double ex_a = 15; double ex_b = 15; double ex_c = 15; Color ex_color = Color.blue; PaperTriangle ex_triangle = new PaperTriangle(ex_a, ex_b, ex_c, ex_color); Assert.IsTrue(ex_triangle.Equals(t_triangle)); }