def test25(self): """SDT(iterable, **kwargs), with overlapping key/values""" D = SDT() D.subtract(dict([(HI, 10), (CR, 9)]), MI=1) self.assertEqual(repr(D), 'SDT(HI=-10, MI=-1, CR=-9, FA=0)')
def test23(self): """SDT(**kwargs)""" D = SDT() D.subtract(HI=10, MI=1, CR=9) self.assertEqual(repr(D), 'SDT(HI=-10, MI=-1, CR=-9, FA=0)')
def test21(self): """SDT(mapping)""" D = SDT() D.subtract(dict([(HI, 10), (CR, 9), (MI, 1)])) self.assertEqual(repr(D), 'SDT(HI=-10, MI=-1, CR=-9, FA=0)')
def test22(self): """SDT(iterable)""" D = SDT() D.subtract([(HI, 10), (CR, 9), (MI, 1)]) self.assertEqual(repr(D), 'SDT(HI=-10, MI=-1, CR=-9, FA=0)')
def test20(self): """SDT()""" D = SDT() D.subtract() self.assertEqual(repr(D), "SDT()")