def test_that_smk_price_is_divided_by_10_while_converting_to_betfair_price(self): self.assertEqual(250, smk_api.smkPriceToBetfairPriceInFormatBetween1and1000(2500))
def test_that_smk_price_and_betfair_price_are_converted_symmetrically(self): self.assertEqual(1000, smk_api.smkPriceToBetfairPriceInFormatBetween1and1000(smk_api.betfairPriceInFormatBetween1and1000ToSmkPrice(1000))) self.assertEqual(1000, smk_api.betfairPriceInFormatBetween1and1000ToSmkPrice(smk_api.smkPriceToBetfairPriceInFormatBetween1and1000(1000)))