<s> import unittest <EOL> import math <EOL> import numpy <EOL> import pyglet <EOL> from pygly . mesh . obj_mesh import OBJ_Mesh <EOL> class test_obj_mesh ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> pass <EOL> def tearDown ( self ) : <EOL> pass <EOL> def test_quad ( self ) : <EOL> objfile = """<STR_LIT>""" <EOL> data = objfile . split ( '<STR_LIT:\n>' ) <EOL> mesh = OBJ_Mesh ( '<STR_LIT>' ) <EOL> mesh . load_data ( data ) <EOL> def test_cube ( self ) : <EOL> objfile = """<STR_LIT>""" <EOL> data = objfile . split ( '<STR_LIT:\n>' ) <EOL> mesh = OBJ_Mesh ( '<STR_LIT>' ) <EOL> mesh . load_data ( data ) <EOL> def test_interleaved_mesh ( self ) : <EOL> objfile = """<STR_LIT>""" <EOL> data = objfile . split ( '<STR_LIT:\n>' ) <EOL> mesh = OBJ_Mesh ( '<STR_LIT>' ) <EOL> mesh . load_data ( data ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
