Resolve "Unittest for core/orbit module"
(Please read the contribution guidelines.)
Description
Test suite is created for Orbit
module with tests cases aimed to the following properties/functionalities:
- equivalent sites
- representative cluster (modified)
- representative sites
- order, len, geometrical_size
- sort
- equal, lower than
- add
- permutation to repr
- allowed permutations
- permuted sites
- get sites with permutation (new)
- get mc vectors
Most of these tests were copied from the unittest for Python version of Orbit module
. Cross testing between Python and C++ implementation remains undisturbed but only C++ testing is removed from Python unittest to avoid unnecessary testing duplicates.
Closes #151 (closed)