Tests ************************** We build a series of tests to verify the programs we have written are correct. Charge-charge ============================= Use charge-charge interaction matrix to calculate the Madelung constans as a test to the program. NaCl ---- 'tests/NaCl.py'. .. automodule:: NaCl :members: CsCl ---- 'tests/CsCl.py'. .. automodule:: CsCl :members: Dipole-dipole ============================= 'tsets/dipole.py'. .. automodule:: dipole :members: Displaced charges ============================= 'tsets/displaced_ions.py'. .. automodule:: displaced_ions :members: Charge-dipole ============================= 'tsets/test_charge_dipole.py'. .. automodule:: test_charge_dipole :members: