1 # -*- coding: iso-8859-1 -*-
4 from hoomd_script
import *
8 # unit tests for analyze.msd
9 class compute_thermo_tests (unittest
.TestCase
):
12 init
.create_random(N
=100, phi_p
=0.05);
14 sorter
.set_params(grid
=8)
16 # tests basic creation of the compute
18 typeA
= group
.type(name
='typeA', type='A')
19 compute
.thermo(group
=typeA
);
26 if __name__
== '__main__':
27 unittest
.main(argv
= ['test.py', '-v'])