mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-22 05:42:59 +05:30
Tested exceptions thrown
This commit is contained in:
parent
2c3aba370f
commit
201df8d366
@ -101,6 +101,16 @@ if __name__ == "__main__":
|
||||
print(gh.getpadding())
|
||||
print(gh.getunknownoffset())
|
||||
mh = pyMeshHeader(3, data)
|
||||
print("-------------")
|
||||
try:
|
||||
mh = pyMeshHeader(87, data)
|
||||
except RuntimeError as e:
|
||||
print(str(e))
|
||||
try:
|
||||
mh = pyMesh(87, data)
|
||||
except RuntimeError as e:
|
||||
print(str(e))
|
||||
print("-------------")
|
||||
mh.show()
|
||||
m = pyMesh(0, data)
|
||||
m.show()
|
||||
|
Loading…
Reference in New Issue
Block a user