File: test_scaled_positions.py

package info (click to toggle)
python-ase 3.24.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 15,448 kB
  • sloc: python: 144,945; xml: 2,728; makefile: 113; javascript: 47
file content (6 lines) | stat: -rw-r--r-- 153 bytes parent folder | download
1
2
3
4
5
6
from ase import Atoms


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