1 # -*- coding: iso-8859-1 -*-
4 from hoomd_script
import *
8 # tests for update.zero_momentum
9 class update_enforce2d_tests (unittest
.TestCase
):
12 s
= init
.create_random(N
=100, box
=data
.boxdim(L
=100, dimensions
=2));
15 sorter
.set_params(grid
=8)
17 # tests basic creation of the updater
26 if __name__
== '__main__':
27 unittest
.main(argv
= ['test.py', '-v'])