Пример #1
0
    def test_nonzero(self):
        """Testing Vector2.nonZero()"""

        self.assertTrue(Vector2.nonZero(Vector2.closeRadius()))
Пример #2
0
    def test_close_radius(self):
        """Testing Vector2.closeRadius()"""

        self.assertTrue(Vector2.closeRadius() < 1)
Пример #3
0
    def test_close(self):
        """Testing Vector2.close()"""

        self.assertTrue(Vector2.close(0, Vector2.closeRadius() / 2))