Function
test_toJSON
(simple_assy, empty_top_assy)
Source from the content-addressed store, hash-verified
| 1421 | |
| 1422 | |
| 1423 | def test_toJSON(simple_assy, empty_top_assy): |
| 1424 | |
| 1425 | r1 = toJSON(simple_assy) |
| 1426 | r2 = toJSON(simple_assy) |
| 1427 | r3 = toJSON(empty_top_assy) |
| 1428 | |
| 1429 | # factor 2 to account for edges and faces being split |
| 1430 | assert len(r1) == 3 * 2 |
| 1431 | assert len(r2) == 3 * 2 |
| 1432 | assert len(r3) == 1 * 2 |
| 1433 | |
| 1434 | |
| 1435 | @pytest.mark.parametrize( |
Callers
nothing calls this directly
Tested by
no test coverage detected