File: TestSanityDuMM.cpp

package info (click to toggle)
molmodel 3.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,384 kB
  • sloc: cpp: 39,830; perl: 526; ansic: 107; makefile: 41
file content (28 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "SimTKmolmodel.h"
#include <iostream>

using namespace std;
using namespace SimTK;

int main() {
try {

    cout << "Testing... ";

    DuMMForceFieldSubsystem dumm;
    assert(dumm.getNumAtoms() == 0);

    dumm.dumpCForceFieldParameters(cout);

    cout << "PASSED" << endl;

    return 0;

}
catch (...) {
    cout << "FAILED" << endl;
    return 1;
}

}