Fix potential problem in Messenger related to MPI window
[hoomd-blue.git] / test / hoomd_script / test_compute_thermo.py
blob2f33549733d33cb352fbcc7d14700d651c62a4a3
1 # -*- coding: iso-8859-1 -*-
2 # Maintainer: joaander
4 from hoomd_script import *
5 import unittest
6 import os
8 # unit tests for analyze.msd
9 class compute_thermo_tests (unittest.TestCase):
10 def setUp(self):
11 print
12 init.create_random(N=100, phi_p=0.05);
14 sorter.set_params(grid=8)
16 # tests basic creation of the compute
17 def test(self):
18 typeA = group.type(name='typeA', type='A')
19 compute.thermo(group=typeA);
20 run(100);
22 def tearDown(self):
23 init.reset();
26 if __name__ == '__main__':
27 unittest.main(argv = ['test.py', '-v'])