code: def test_round_to_int():
      """Test round to int function"""
      assert round_to_int(154231, 1000) == 154000
      assert round_to_int(154231, 10) == 154230
      assert round_to_int(154231, 100000) == 200000
      assert round_to_int(154231, 50000) == 150000
      assert round_to_int(154231, 500) == 154000
      assert round_to_int(154231, 200) == 154200
      assert round_to_int(154361, 200) == 154400
  
file_path: pygal/pygal/test/test_util.py
imports: from pytest import raises
  from pygal.util import _swap_curly, majorize, mergextend, minify_css, round_to_float, round_to_int, template, truncate
label_desc: Use image node_id 1 for calling a global function with example usage: test_round_to_int() without return types