10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-07 06:33:49 +01:00
QuantumPackage/ocaml/tests/test_atom.ml
2019-01-25 11:39:31 +01:00

6 lines
155 B
OCaml

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)
;;