Assert that an instantiated structured sampler exposes correct composite properties and methods.
Structured) – User-made dimod structured sampler.
AssertionError – If the given sampler does not match the structured API.
Structuredfor the abstract base class that defines the structured API.
assert_sampler_apito assert that the structured sampler matches the sampler API.