#NEWLINE# def test_trimesh_n_tris( ) : #NEWLINE# #INDENT# points = np . array ( [ [ 0 , 0 , 0 ] , [ 1 , 0 , 0 ] , [ 1 , 1 , 0 ] , [ 0 , 1 , 0 ] ] ) #NEWLINE# trilist = np . array ( [ [ 0 , 1 , 3 ] , [ 1 , 2 , 3 ] ] ) #NEWLINE# trimesh = TriMesh ( points , trilist = trilist ) #NEWLINE# assert ( trimesh . n_tris == 2 )