File: test_scaled_positions.py

package info (click to toggle)
python-ase 3.26.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,484 kB
  • sloc: python: 148,112; xml: 2,728; makefile: 110; javascript: 47
file content (7 lines) | stat: -rw-r--r-- 164 bytes parent folder | download
1
2
3
4
5
6
7
# fmt: off
from ase import Atoms


def test_scaled_positions():
    assert Atoms('X', [(-1e-35, 0, 0)],
                 pbc=True).get_scaled_positions()[0, 0] < 1