@@ -0,0 +1,655 @@
+from decimal import Decimal%0Afrom unittest import TestCase%0A%0A%0Aclass TestDecimalJSON(TestCase):%0A%0A    def _make_one(self):%0A        from ichnaea.renderer import DecimalJSON%0A        return DecimalJSON()(None)%0A%0A    def test_basic(self):%0A        render = self._make_one()%0A        self.assertEqual(render(%7B'a': 1%7D, %7B%7D), '%7B%22a%22: 1%7D')%0A%0A    def test_decimal(self):%0A        render = self._make_one()%0A        d = Decimal(%2212.345678%22)%0A        self.assertEqual(render(%7B'a': d%7D, %7B%7D), '%7B%22a%22: 12.345678%7D')%0A%0A    def test_decimal_low_precision(self):%0A        render = self._make_one()%0A        d = Decimal(%2212.34%22)%0A        self.assertEqual(render(%7B'a': d%7D, %7B%7D), '%7B%22a%22: 12.34%7D')%0A

add basic test for renderer