Пример #1
0
        public void TestSquarZero()
        {
            SquareCurve d   = new SquareCurve();
            float       sut = d.Apply(0.0f);

            Assert.AreEqual(sut, 0.0f);
        }
Пример #2
0
        public void TestSquareNegative()
        {
            SquareCurve d   = new SquareCurve();
            float       sut = d.Apply(-0.5f);

            Assert.AreEqual(sut, -0.25f);
        }
Пример #3
0
        public void TestSquarePositive()
        {
            SquareCurve d   = new SquareCurve();
            float       sut = d.Apply(0.5f);

            Assert.AreEqual(sut, 0.25f);
        }
Пример #4
0
 public void TestSquarZero()
 {
     SquareCurve d = new SquareCurve();
     float sut = d.Apply(0.0f);
     Assert.AreEqual(sut, 0.0f);
 }
Пример #5
0
 public void TestSquarePositive()
 {
     SquareCurve d = new SquareCurve();
     float sut = d.Apply(0.5f);
     Assert.AreEqual(sut, 0.25f);
 }
Пример #6
0
 public void TestSquareNegative()
 {
     SquareCurve d = new SquareCurve();
     float sut = d.Apply(-0.5f);
     Assert.AreEqual(sut, -0.25f);
 }