t4_geom_convert.UnitTests.VolumeTest package
Submodules
t4_geom_convert.UnitTests.VolumeTest.test_Lattice module
Unit tests for the Lattice module.
- t4_geom_convert.UnitTests.VolumeTest.test_Lattice.latticeReciprocalTest(vecs)
Call
latticeReciprocal(), and additionally test that the list of vectors it returns has the same length as the argument.
- t4_geom_convert.UnitTests.VolumeTest.test_Lattice.lattices() SearchStrategy
Generate base vectors for a 1D, 2D or 3D square lattice. Make sure that they are not collinear.
- t4_geom_convert.UnitTests.VolumeTest.test_Lattice.test_bravais_property() None
Test that the reciprocal vectors of a 1D, 2D or 3D lattice satisfy the Bravais property:
\[v_i \cdot r_j = delta_{ij}, i,j=1,2,3\]
- t4_geom_convert.UnitTests.VolumeTest.test_Lattice.vectors() SearchStrategy
Generate a random three-dimensional vector.