pytc.solver.test.test_isdf_xtc_ccsd

Tests for the factorized-dispatch solver class isdf_xtc_ccsd.RCCSD.

These tests EXECUTE the class’s own seams on a tiny synthetic case so that a missing or mis-signed dependency (an import target that exists only in a diagnostic harness, a renamed attribute) fails in the suite rather than in production. Identity checks alone cannot catch that class: they prove which code would run, not that everything it calls exists.

Classes

FactorizedDispatchSurfaceTest

The dispatch seam's structure, pinned so a refactor fails loudly.

FactorizedStateExecutionTest

Call _factorized_state() for real: extraction, fit, caching, guards.

PreloadSuppressionTest

The whole-X host preload fires on the materialized parent but is suppressed on the factorized subclass, with identical X content.

Functions

_fake_xtc_obj

Minimal xtc_obj attribute surface consumed by the factorized state.