(s1)
| 965 | |
| 966 | |
| 967 | def test_missing_selection(s1): |
| 968 | |
| 969 | # offset requires selected wires |
| 970 | with raises(ValueError): |
| 971 | s1.offset(0.1) |
| 972 | |
| 973 | # fillet requires selected vertices |
| 974 | with raises(ValueError): |
| 975 | s1.fillet(0.1) |
| 976 | |
| 977 | # cannot delete without selection |
| 978 | with raises(ValueError): |
| 979 | s1.delete() |
| 980 | |
| 981 | # cannot tag without selection |
| 982 | with raises(ValueError): |
| 983 | s1.tag("name") |
| 984 | |
| 985 | |
| 986 | def test_mixed_close(): |