picogl.tests.test_atom_bond_geometry

Tests for AtomGeometry and BondGeometry producers.

Functions

test_sphere_mesh_counts_match_sphere_mesh() → None

test_bond_geometry_open_cylinder_topology() → None

test_bond_geometry_zero_length_is_empty() → None

test_bond_geometry_radial_normals_unit_length() → None

test_bond_geometry_build_many_matches_sequential_build() → None

Two finite bonds match concatenated single-bond build() results.

test_bond_geometry_build_many_drops_zero_length() → None

Mixed finite + zero-length input yields one cylinder.

Module Contents

picogl.tests.test_atom_bond_geometry.test_sphere_mesh_counts_match_sphere_mesh() → None[source]
picogl.tests.test_atom_bond_geometry.test_bond_geometry_open_cylinder_topology() → None[source]
picogl.tests.test_atom_bond_geometry.test_bond_geometry_zero_length_is_empty() → None[source]
picogl.tests.test_atom_bond_geometry.test_bond_geometry_radial_normals_unit_length() → None[source]
picogl.tests.test_atom_bond_geometry.test_bond_geometry_build_many_matches_sequential_build() → None[source]

Two finite bonds match concatenated single-bond build() results.

picogl.tests.test_atom_bond_geometry.test_bond_geometry_build_many_drops_zero_length() → None[source]

Mixed finite + zero-length input yields one cylinder.