mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-30 15:15:38 +01:00
20 lines
351 B
OCaml
20 lines
351 B
OCaml
|
open Core
|
||
|
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 ();
|