Regression tests for L{pyffi.object_models.simple_type}
=====================================================

Constructor
-----------

>>> from pyffi.object_models.simple_type import SimpleType
>>> test = SimpleType()
>>> print(test)
None
>>> print(test.value)
None
>>> print(test._value)
None

Value property
--------------

>>> from pyffi.object_models.simple_type import SimpleType
>>> test = SimpleType()
>>> test.value = 'eek!'
>>> print(test)
eek!
>>> print(test.value)
eek!
>>> print(test._value)
eek!

Interchangeability
------------------

>>> test1 = SimpleType()
>>> test1.value = 2
>>> test2 = SimpleType()
>>> test2.value = 2
>>> test1 is test2
False
>>> test1.is_interchangeable(test2)
True
>>> test2.value = 'hello'
>>> test1.is_interchangeable(test2)
False

