• Jason Swails's avatar
    Move prmtop instantiation outside of the setUp routine and put it in the module · 27dcdb77
    Jason Swails authored
    itself. This way each parm is only read once for every test (rather than being
    read for every test, even when they're not used, as part of the setUp routine).
    For large systems, this makes the tests run a lot faster (for small systems it's
    not a large speedup).
    
    All tests continue to pass. This change also tests that the various calls to
    createSystem and such do not actually change the object in a detrimental way.
    27dcdb77
TestAmberPrmtopFile.py 7.47 KB