def test_format_money_return_correct_string_for_trillions(self) -> None: self.assertEqual( "$2.00T", crypto_price_lambda_commons_util.format_money_to_string( 2000000000000.5))
def test_format_money_return_correct_string_for_tens_of_thousand( self) -> None: self.assertEqual( "$20,000.50", crypto_price_lambda_commons_util.format_money_to_string(20000.5))
def test_format_money_return_correct_string_for_hundreds_of_billion( self) -> None: self.assertEqual( "$200.00B", crypto_price_lambda_commons_util.format_money_to_string( 200000000000.5))
def test_format_money_return_correct_string_for_tens(self) -> None: self.assertEqual( "$10.00", crypto_price_lambda_commons_util.format_money_to_string(10))