#!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 23.06.2017 16:39
:Licence GNUv3
Part of grammpy

"""

from unittest import TestCase, main
from grammpy import EPS
from grammpy import EPSILON


class ImportTest(TestCase):
    def test_idSame(self):
        self.assertEqual(id(EPS), id(EPSILON))

    def test_equal(self):
        self.assertEqual(EPS, EPSILON)

    def test_equalToSelf(self):
        self.assertEqual(EPS, EPS)

    def test_notEqualToNumber(self):
        self.assertNotEqual(EPS, 5)

    def test_notEqualToString(self):
        self.assertNotEqual(EPS, "asdf")

    def test_notEqualToObject(self):
        self.assertNotEqual(EPS, object())


if __name__ == '__main__':
    main()

#!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 23.06.2017 16:39
:Licence GNUv3
Part of grammpy

"""

from unittest import TestCase, main
from grammpy import EPS
from grammpy import EPSILON


class ImportTest(TestCase):

    def test_idSame(self):
        self.assertEqual(id(EPS),id(EPSILON))

    def test_equal(self):
        self.assertEqual(EPS, EPSILON)

if __name__ == '__main__':
    main()

Revert "Add tests to compare epsilon with another objects"
Revert "Add tests to compare epsilon with another objects"

This reverts commit ae4b4fe5fb5c5774720dd3a14549aa88bde91043.
