10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-15 02:23:56 +01:00
quantum_package/ocaml/test_atom.ml

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