#!/usr/bin/env python

import os
import sys
import subprocess

sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from runtest_dirac import Filter, TestRun

test = TestRun(__file__, sys.argv)

f = Filter()

f.add(from_string = 'Isotropic differential oscillator strengths (full light-matter interaction) above threshold :',
      to_string   = 'Sum of differential oscillator strengths (full light-matter interaction) :',
      abs_tolerance   = 1.0e-8)


test.run(['ECD.inp'], ['H2O2_90.xyz'], f)

sys.exit(test.return_code)
