Turning examples into tests - shivupa/pyci GitHub Wiki

Short tutorial: How to do checkboxes in Markdown!

  • I am a checkbox
  • I am another checkbox
  • I am a checked checkbox
  • [] I am not a checkbox

Testing: initial implementation (2016-10-09)

  • extract molecules into separate files
  • combine calling methods (FCI, CISD, ...) into function taking molecule in separate file
    • this forms the basis for a test runner (tests/runner.py)
  • have all methods uniformly return array of energies
  • test: compare 3 FCI/CISD implemetations: GAMESS/Psi4, pyscf, pyci
    • GAMESS/Psi4: put values into plain text files and read in during test
    • pyscf: compute at test time
      • Should this be part of general runner, test suite, or both?
  • test: compare ACI, ASCI, HBCI against data from papers
    • put values into plain text files and read in during test

First pull request: https://github.com/shivupa/pyci/pull/9