MCPcopy Create free account
hub / github.com/dds-bridge/dds / test_multiple_contexts

Method test_multiple_contexts

python/tests/test_context_reuse.py:57–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 self.assertIsInstance(ctx, SolverContext)
56
57 def test_multiple_contexts(self) -> None:
58 ctx1 = SolverContext()
59 ctx2 = SolverContext()
60 self.assertIsNotNone(ctx1)
61 self.assertIsNotNone(ctx2)
62 self.assertIsNot(ctx1, ctx2)
63
64 def test_solve_board_without_context(self) -> None:
65 result = solve_board(self._make_simple_deal())

Callers

nothing calls this directly

Calls 1

SolverContextClass · 0.85

Tested by

no test coverage detected