File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2326,9 +2326,16 @@ def fun(v):
2326
2326
pass
2327
2327
2328
2328
def test_edge_flaps (self ):
2329
- # TODO
2330
2329
e , emap , ef , ei = igl .edge_flaps (self .f2 )
2331
- pass
2330
+ self .assertTrue (e .shape [1 ] == ef .shape [1 ] == ei .shape [1 ] == 2 )
2331
+ self .assertTrue (e .shape [0 ] == ef .shape [0 ] == ei .shape [0 ])
2332
+ self .assertTrue (emap .shape [0 ] == self .f2 .shape [0 ] * 3 )
2333
+ self .assertTrue (np .min (e ) >= 0 and np .max (e ) < self .v2 .shape [0 ])
2334
+ self .assertTrue (e .flags .c_contiguous )
2335
+ self .assertTrue (emap .flags .c_contiguous )
2336
+ self .assertTrue (ef .flags .c_contiguous )
2337
+ self .assertTrue (ei .flags .c_contiguous )
2338
+ self .assertTrue (e .dtype == emap .dtype == ef .dtype == ei .dtype == np .int )
2332
2339
2333
2340
def test_circulation (self ):
2334
2341
pass
You can’t perform that action at this time.
0 commit comments