def test_AssetTypeSpec_eq(): assert abi.AssetTypeSpec() == abi.AssetTypeSpec() for otherType in ( abi.ByteTypeSpec(), abi.Uint8TypeSpec(), abi.AddressTypeSpec(), ): assert abi.AssetTypeSpec() != otherType
def test_ReferenceTypeSpecs_list(): assert abi.ReferenceTypeSpecs == [ abi.AccountTypeSpec(), abi.AssetTypeSpec(), abi.ApplicationTypeSpec(), ]
def test_Asset_typespec(): assert abi.Asset().type_spec() == abi.AssetTypeSpec()
def test_AssetTypeSpec_new_instance(): assert isinstance(abi.AssetTypeSpec().new_instance(), abi.Asset)
def test_AssetTypeSpec_is_dynamic(): assert not (abi.AssetTypeSpec()).is_dynamic()
def test_Asset_str(): assert str(abi.AssetTypeSpec()) == "asset"