(self)
| 187 | ) |
| 188 | |
| 189 | def test_poly_reverse_split_chain(self) -> None: |
| 190 | # B :> T <: S :> A |
| 191 | self.assert_solve( |
| 192 | [self.fx.t, self.fx.s], |
| 193 | [ |
| 194 | self.subc(self.fx.t, self.fx.s), |
| 195 | self.subc(self.fx.t, self.fx.b), |
| 196 | self.supc(self.fx.s, self.fx.a), |
| 197 | ], |
| 198 | [self.fx.b, self.fx.a], |
| 199 | allow_polymorphic=True, |
| 200 | ) |
| 201 | |
| 202 | def test_poly_unsolvable_chain(self) -> None: |
| 203 | # A <: T <: U <: S <: B |
nothing calls this directly
no test coverage detected