quantum_package/ocaml/test_elements.ml

7 lines
178 B
OCaml

let test_module () =
let atom = Element.of_string "Cobalt" in
Printf.printf "%s %d\n" (Element.to_string atom) (Charge.to_int (Element.to_charge atom))
;;
test_module ();;