test_models
Tests for data models including species, compositions, build inputs,.
functest_single_molecule_species()Returns
Nonefunctest_conformer_retry_succeeds()Test that EmbedMolecule retry with useRandomCoords=True works when first attempt fails.
Returns
Nonefunctest_lipid_species()Returns
Nonefunctest_generate_input_model_from_dict()Returns
Nonefunctest_parameter_set_dump(tmp_path)paramtmp_pathReturns
Nonefunctest_gmx_parameter_model(tmp_path)paramtmp_pathReturns
Nonefunctest_core_composition_replication()Test that CoreComposition calculates replication factor for efficient packing.
Returns
Nonefunctest_replicate_box_3d()Test 3D box replication function.
Returns
Nonefunctest_distribute_counts()Test that distribute_counts preserves exact totals.
Returns
Nonefunctest_shell_composition_calculate_counts_smaller_scale()Test that ShellComposition selects the smallest adequate scale (1/8, 1/4, etc.).
Returns
Nonefunctest_shell_composition_calculate_counts_larger_scale()Test that ShellComposition escalates to larger scale when needed.
Returns
Nonefunctest_shell_composition_min_count_behavior()Test that min_count parameter is respected.
Returns
Nonefunctest_shell_composition_counts_sum_correctly()Test that distributed counts sum to expected patch size.
Returns
None