10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-18 12:03:40 +01:00
QCaml/run_tests.ml

24 lines
507 B
OCaml
Raw Normal View History

2018-07-05 00:39:17 +02:00
let test_water_dz () =
let basis_file = "test_files/cc-pvdz"
and nuclei_file = "test_files/h2o.xyz"
in
2018-07-04 20:24:51 +02:00
2018-07-05 00:39:17 +02:00
let simulation_closed_shell =
2018-07-04 20:24:51 +02:00
Simulation.of_filenames ~charge:0 ~multiplicity:1 ~nuclei:nuclei_file basis_file
2018-07-05 00:39:17 +02:00
in
let ao_basis =
simulation_closed_shell.Simulation.ao_basis
in
Alcotest.run "Water, cc-pVDZ" [
"AO_Basis", AOBasis.test_case ao_basis;
"Guess", Guess.test_case ao_basis;
2018-07-20 19:02:56 +02:00
"Determinant", Determinant.test_case ();
2018-07-05 00:39:17 +02:00
]
2018-07-04 20:24:51 +02:00
let () =
2018-07-05 00:39:17 +02:00
test_water_dz ()