public void TestScaleTrapezoid37Percent()
 {
     Trapezoid trapezoid = new Trapezoid(20, 15, 10);
     trapezoid.Scale(37);
     Assert.AreEqual((decimal)7.4, trapezoid.LongBase);
     Assert.AreEqual((decimal)5.55, trapezoid.ShortBase);
     Assert.AreEqual((decimal)3.7, trapezoid.Height);
     Assert.AreEqual((decimal)75.96, trapezoid.AcuteAngle);
     Assert.AreEqual((decimal)104.04, trapezoid.ObtuseAngle);
 }
 public void TestScaleTrapezoid200Percent()
 {
     Trapezoid trapezoid = new Trapezoid(20, 15, 10);
     trapezoid.Scale(200);
     Assert.AreEqual(40, trapezoid.LongBase);
     Assert.AreEqual(30, trapezoid.ShortBase);
     Assert.AreEqual(20, trapezoid.Height);
     Assert.AreEqual((decimal)75.96, trapezoid.AcuteAngle);
     Assert.AreEqual((decimal)104.04, trapezoid.ObtuseAngle);
 }
 public void TrapezoidScaleToNegativePercent()
 {
     Trapezoid trapezoid = new Trapezoid(20, 15, 10);
     trapezoid.Scale(-10);
 }
 public void TrapezoidScaleTo0Percent()
 {
     Trapezoid trapezoid = new Trapezoid(20, 15, 10);
     trapezoid.Scale(0);
 }