9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-09 15:03:37 +01:00
qp2/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)
;;