10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-04 21:24:02 +01:00
quantum_package/ocaml/test_pseudo.ml

20 lines
351 B
OCaml
Raw Normal View History

2017-08-18 18:28:33 +02:00
open Core
2016-01-27 00:19:08 +01:00
open Qputils
open Qptypes
let test_module () =
let pseudo_channel =
let b = "BFD" in
In_channel.create (Qpackage.root^"/data/pseudo/"^(String.lowercase b))
in
let pseudo =
Pseudo.read_element pseudo_channel (Element.of_string "Cu")
in
print_endline (Pseudo.to_string pseudo);
;;
test_module ();