mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-14 01:53:55 +01:00
26 lines
544 B
OCaml
26 lines
544 B
OCaml
|
open Core.Std;;
|
||
|
open Qptypes;;
|
||
|
|
||
|
let test_prim () =
|
||
|
let p =
|
||
|
{ Primitive.sym = Symmetry.P ;
|
||
|
Primitive.expo = Positive_float.of_float 0.15} in
|
||
|
Primitive.to_string p
|
||
|
|> print_string
|
||
|
;;
|
||
|
|
||
|
let test_gto () =
|
||
|
let in_channel = open_in "/home/scemama/quantum_package/data/basis/cc-pVDZ" in
|
||
|
ignore (input_line in_channel);
|
||
|
let gto = Gto.read_one in_channel in
|
||
|
print_string (Gto.to_string gto);
|
||
|
let gto = Gto.read_one in_channel in
|
||
|
print_string (Gto.to_string gto);
|
||
|
;;
|
||
|
|
||
|
let test_module () =
|
||
|
test_gto()
|
||
|
;;
|
||
|
|
||
|
test_module ();;
|