(V, W, Q)
| 81 | |
| 82 | |
| 83 | def test_component(V, W, Q): |
| 84 | assert not W.component() |
| 85 | assert not V.component() |
| 86 | assert W.sub(0).component()[0] == 0 |
| 87 | assert W.sub(1).component()[0] == 1 |
| 88 | assert Q.sub(0).component()[0] == 0 |
| 89 | assert Q.sub(1).component()[0] == 1 |
| 90 | |
| 91 | |
| 92 | def test_equality(V, V2, W, W2): |