9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-20 19:42:05 +02:00
qp2/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)
;;