# ----------------------------------------------------------------------
# |  
# |  GuidTypeInfo_UnitTest.py
# |  
# |  David Brownell <db@DavidBrownell.com>
# |      2018-04-23 00:35:12
# |  
# ----------------------------------------------------------------------
# |  
# |  Copyright David Brownell 2018-22.
# |  Distributed under the Boost Software License, Version 1.0.
# |  (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
# |  
# ----------------------------------------------------------------------
"""Unit test for GuidTypeInfo.py."""

import os
import sys
import unittest
import uuid

import CommonEnvironment
from CommonEnvironment.TypeInfo.FundamentalTypes.GuidTypeInfo import GuidTypeInfo

# ----------------------------------------------------------------------
_script_fullpath = CommonEnvironment.ThisFullpath()
_script_dir, _script_name = os.path.split(_script_fullpath)
# ----------------------------------------------------------------------

class StandardSuite(unittest.TestCase):

    # ----------------------------------------------------------------------
    def test_Standard(self):
        self.assertEqual(GuidTypeInfo.Desc, "Guid")
        self.assertEqual(GuidTypeInfo.ConstraintsDesc, '')
        self.assertEqual(GuidTypeInfo.ExpectedType, uuid.UUID)

    # ----------------------------------------------------------------------
    def test_Create(self):
        self.assertNotEqual(GuidTypeInfo.Create(), GuidTypeInfo.Create())

# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
if __name__ == "__main__":
    try: sys.exit(unittest.main(verbosity=2))
    except KeyboardInterrupt: pass

2f4e21b5abe4ed3b84acf5b197d07e9f6f03e67d
<mask token>


class StandardSuite(unittest.TestCase):

    def test_Standard(self):
        self.assertEqual(GuidTypeInfo.Desc, 'Guid')
        self.assertEqual(GuidTypeInfo.ConstraintsDesc, '')
        self.assertEqual(GuidTypeInfo.ExpectedType, uuid.UUID)

    def test_Create(self):
        self.assertNotEqual(GuidTypeInfo.Create(), GuidTypeInfo.Create())


<mask token>

<mask token>


class StandardSuite(unittest.TestCase):

    def test_Standard(self):
        self.assertEqual(GuidTypeInfo.Desc, 'Guid')
        self.assertEqual(GuidTypeInfo.ConstraintsDesc, '')
        self.assertEqual(GuidTypeInfo.ExpectedType, uuid.UUID)

    def test_Create(self):
        self.assertNotEqual(GuidTypeInfo.Create(), GuidTypeInfo.Create())


if __name__ == '__main__':
    try:
        sys.exit(unittest.main(verbosity=2))
    except KeyboardInterrupt:
        pass

<mask token>
_script_fullpath = CommonEnvironment.ThisFullpath()
_script_dir, _script_name = os.path.split(_script_fullpath)


class StandardSuite(unittest.TestCase):

    def test_Standard(self):
        self.assertEqual(GuidTypeInfo.Desc, 'Guid')
        self.assertEqual(GuidTypeInfo.ConstraintsDesc, '')
        self.assertEqual(GuidTypeInfo.ExpectedType, uuid.UUID)

    def test_Create(self):
        self.assertNotEqual(GuidTypeInfo.Create(), GuidTypeInfo.Create())


if __name__ == '__main__':
    try:
        sys.exit(unittest.main(verbosity=2))
    except KeyboardInterrupt:
        pass

<mask token>
import os
import sys
import unittest
import uuid
import CommonEnvironment
from CommonEnvironment.TypeInfo.FundamentalTypes.GuidTypeInfo import GuidTypeInfo
_script_fullpath = CommonEnvironment.ThisFullpath()
_script_dir, _script_name = os.path.split(_script_fullpath)


class StandardSuite(unittest.TestCase):

    def test_Standard(self):
        self.assertEqual(GuidTypeInfo.Desc, 'Guid')
        self.assertEqual(GuidTypeInfo.ConstraintsDesc, '')
        self.assertEqual(GuidTypeInfo.ExpectedType, uuid.UUID)

    def test_Create(self):
        self.assertNotEqual(GuidTypeInfo.Create(), GuidTypeInfo.Create())


if __name__ == '__main__':
    try:
        sys.exit(unittest.main(verbosity=2))
    except KeyboardInterrupt:
        pass

# ----------------------------------------------------------------------
# |  
# |  GuidTypeInfo_UnitTest.py
# |  
# |  David Brownell <db@DavidBrownell.com>
# |      2018-04-23 00:35:12
# |  
# ----------------------------------------------------------------------
# |  
# |  Copyright David Brownell 2018-22.
# |  Distributed under the Boost Software License, Version 1.0.
# |  (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
# |  
# ----------------------------------------------------------------------
"""Unit test for GuidTypeInfo.py."""

import os
import sys
import unittest
import uuid

import CommonEnvironment
from CommonEnvironment.TypeInfo.FundamentalTypes.GuidTypeInfo import GuidTypeInfo

# ----------------------------------------------------------------------
_script_fullpath = CommonEnvironment.ThisFullpath()
_script_dir, _script_name = os.path.split(_script_fullpath)
# ----------------------------------------------------------------------

class StandardSuite(unittest.TestCase):

    # ----------------------------------------------------------------------
    def test_Standard(self):
        self.assertEqual(GuidTypeInfo.Desc, "Guid")
        self.assertEqual(GuidTypeInfo.ConstraintsDesc, '')
        self.assertEqual(GuidTypeInfo.ExpectedType, uuid.UUID)

    # ----------------------------------------------------------------------
    def test_Create(self):
        self.assertNotEqual(GuidTypeInfo.Create(), GuidTypeInfo.Create())

# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
if __name__ == "__main__":
    try: sys.exit(unittest.main(verbosity=2))
    except KeyboardInterrupt: pass
