File: test_scaled_positions.py

package info (click to toggle)
python-ase 3.21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,936 kB
  • sloc: python: 122,428; xml: 946; makefile: 111; javascript: 47
file content (3 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (2)
1
2
3
def test_scaled_positions():
    from ase import Atoms
    assert Atoms('X', [(-1e-35, 0, 0)], pbc=True).get_scaled_positions()[0, 0] < 1