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

6 lines
155 B
OCaml
Raw Normal View History

2014-08-23 17:07:47 +02:00
let test_atom =
let line = "C 6.0 1. 2. 3." in
2014-10-07 19:33:11 +02:00
let atom = Atom.of_string Units.Bohr line in
print_string (Atom.to_string Units.Angstrom atom)
2014-08-23 17:07:47 +02:00
;;