10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-02 11:25:26 +02:00
quantum_package/src/ezfio_files/01.convert.bats
2019-01-12 15:24:58 +01:00

28 lines
518 B
Bash

#!/usr/bin/env bats
source $QP_ROOT/tests/bats/common.bats.sh
source $QP_ROOT/quantum_package.rc
function run {
local INPUT=$1
local EZ=$2
cp ${QP_ROOT}/tests/input/$INPUT .
qp convert_output_to_ezfio $INPUT -o $EZ
qp set_file $EZ
qp edit --check
qp set scf_utils thresh_scf 1.e-12
}
@test "HBO GAMESS" {
run hbo.gms.out hbo.ezfio
}
@test "H2O G09" {
run h2o.log h2o.ezfio
}
@test "[Cu(NH3)4]2+ GAMESS" {
run cu_nh3_4_2plus.gms.out cu_nh3_4_2plus.ezfio
qp set scf_utils thresh_scf 1.e-10
}