10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-03 20:53:54 +01:00
QuantumPackage/ocaml/tests/test_symmetry.ml

14 lines
250 B
OCaml
Raw Permalink Normal View History

2019-01-25 11:39:31 +01:00
open Qputils
open Qptypes
open Symmetry
let () =
"SPDFGHIJKL"
|> String_ext.to_list
|> List.map of_char
|> List.map Xyz.of_symmetry
|> List.iter (fun x -> List.iter (fun y -> Xyz.to_string y |> print_endline) x ;
print_newline ();)