예제 #1
0
        public void QuadriLateralCanComputePerimeter()
        {
            MyQuad Quad = new MyQuad();
            Quad.Side1Top = 2;
            Quad.Side2Right = 2;
            Quad.Side3Bottom = 2;
            Quad.Side4Left = 2;

            Assert.AreEqual(Quad.Perimeter(), 8);
        }
예제 #2
0
        public void QuadriLateralCanComputePerimeter()
        {
            MyQuad Quad = new MyQuad();

            Quad.Side1Top    = 2;
            Quad.Side2Right  = 2;
            Quad.Side3Bottom = 2;
            Quad.Side4Left   = 2;

            Assert.AreEqual(Quad.Perimeter(), 8);
        }
예제 #3
0
        public void TestQuadHasDefaultSize()
        {
            MyQuad testQuad = new MyQuad();

            testQuad.Perimeter();
        }
예제 #4
0
 public void TestQuadHasDefaultSize()
 {
     MyQuad testQuad = new MyQuad();
     testQuad.Perimeter();
 }