Module: cirq.testing.json

Classes

class ModuleJsonTestSpec: ModuleJsonTestSpec(name: str, packages: List[Any], test_data_path: pathlib.Path, not_yet_serializable: List[str], should_not_be_serialized: List[str], resolver_cache: Dict[str, Union[Type, Callable[..., Any]]], deprecated: Dict[str, str])

Functions

assert_json_roundtrip_works(...): Tests that the given object can serialized and de-serialized

spec_for(...)

Type Aliases

ObjectFactory: The central part of internal API.