Skip to content

Commit

Permalink
add _scheme test
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-esch committed Aug 2, 2017
1 parent a6c7580 commit 19e3223
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_styling.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,8 @@ def test_get_scheme_cartocss(self):
bins=3,
bin_method='equal')),
'ramp([acadia], (#FFF,#888,#000), equal(3))')

def test_scheme(self):
"""styling._scheme"""
self.assertEqual(styling._scheme('acadia', 27, 'jenks'),
dict(name='acadia', bins=27, bin_method='jenks'))

0 comments on commit 19e3223

Please sign in to comment.