10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-14 18:13:51 +01:00
QuantumPackage/ocaml/tests/test_atom.ml

6 lines
155 B
OCaml
Raw Normal View History

2019-01-25 11:39:31 +01:00
let test_atom =
let line = "C 6.0 1. 2. 3." in
let atom = Atom.of_string Units.Bohr line in
print_string (Atom.to_string Units.Angstrom atom)
;;