Enable parallel tests.
[hoomd-blue.git] / test / hoomd_script / test_update_enforce2d.py
blobf20e3d4562d55d6aaee8d337128798d18f1db113
1 # -*- coding: iso-8859-1 -*-
2 # Maintainer: joaander
4 from hoomd_script import *
5 import unittest
6 import os
8 # tests for update.zero_momentum
9 class update_enforce2d_tests (unittest.TestCase):
10 def setUp(self):
11 print
12 s = init.create_random(N=100, box=data.boxdim(L=100, dimensions=2));
13 s.dimensions = 2
15 sorter.set_params(grid=8)
17 # tests basic creation of the updater
18 def test(self):
19 update.enforce2d()
20 run(100);
22 def tearDown(self):
23 init.reset();
26 if __name__ == '__main__':
27 unittest.main(argv = ['test.py', '-v'])