Example #1
0
        public IEnumerator CheckBallYIsGreaterThanZero()
        {
            Vector2 checkPos = BallBoundaryDetection.getStartPos();

            Assert.That(checkPos.y, Is.GreaterThan(0.0f));
            yield return(null);
        }
Example #2
0
        public IEnumerator CheckBallYIsLessThanHeightOfScreen()
        {
            Vector2 checkPos = BallBoundaryDetection.getStartPos();

            Assert.That(checkPos.y, Is.LessThan(10.0f));
            Assert.That(checkPos.y, Is.GreaterThan(0.0f));
            yield return(null);
        }