public void FilmTriangleCreation3() { double t_a = 6; double t_b = 8; double t_c = 10; FilmTriangle t_triangle = new FilmTriangle(t_a, t_b, t_c); double ex_a = 6; double ex_b = 8; double ex_c = 10; FilmTriangle ex_triangle = new FilmTriangle(ex_a, ex_b, ex_c); Assert.IsTrue(ex_triangle.Equals(t_triangle)); }
public void FilmCircleIntoTriangleConverstion3() { double t_r = 100; FilmCircle t_filmCircle = new FilmCircle(t_r); double t_a = 10; double t_b = 5; double t_c = 10; FilmTriangle t_filmTriangle = new FilmTriangle(t_a, t_b, t_c); double ex_a = 10; double ex_b = 5; double ex_c = 10; FilmTriangle ex_filmTriangle = new FilmTriangle(ex_a, ex_b, ex_c); Assert.IsTrue(ex_filmTriangle.Equals(t_filmTriangle)); }
public void FilmRectangleIntoTriangleConverstion3() { double t_a = 30; double t_b = 150; double t_c = 30; double t_d = 150; FilmRectangle t_rectangle = new FilmRectangle(t_a, t_b, t_c, t_d); double t_a1 = 2; double t_b1 = 2; double t_c1 = 2; FilmTriangle t_triangle = new FilmTriangle(t_a1, t_b1, t_c1, t_rectangle); double ex_a = 2; double ex_b = 2; double ex_c = 2; FilmTriangle ex_triangle = new FilmTriangle(ex_a, ex_b, ex_c); Assert.IsTrue(ex_triangle.Equals(t_triangle)); }