<filename>hoomd/test-py/test_update_sorter.py<gh_stars>0
# -*- coding: iso-8859-1 -*-
# Maintainer: joaander

from hoomd import *
from hoomd import deprecated
import hoomd;
context.initialize()
import unittest
import os

# tests for update.sorter
class update_sorter_tests (unittest.TestCase):
    def setUp(self):
        print
        deprecated.init.create_random(N=100, phi_p=0.05);

    # test set_params
    def test_set_params(self):

        context.current.sorter.set_params(grid=20);

    def tearDown(self):
        context.initialize();

if __name__ == '__main__':
    unittest.main(argv = ['test.py', '-v'])
