text: from decimal import Decimal
  from unittest import TestCase
  
  from nba_data.deserializers.utils.advanced_box_score_deserializer_utils import AdvancedBoxScoreDeserializerUtils
  
  
  class TestAdvancedBoxScorePlayerStatsDeserializer(TestCase):
  
      def test_instantiation(self):
          self.assertIsNotNone(AdvancedBoxScoreDeserializerUtils())
  
      def test_parse_float(self):
          self.assertEqual(AdvancedBoxScoreDeserializerUtils.parse_float(None), Decimal("0.0"))
          self.assertRaises(ValueError, AdvancedBoxScoreDeserializerUtils.parse_float, "jae")
          self.assertEqual(AdvancedBoxScoreDeserializerUtils.parse_float(1.50), Decimal("1.5"))
  
      def test_parse_percentage(self):
          self.assertEqual(AdvancedBoxScoreDeserializerUtils.parse_percentage(None), Decimal("0.0"))
          self.assertRaises(ValueError, AdvancedBoxScoreDeserializerUtils.parse_percentage, "jae")
          self.assertEqual(AdvancedBoxScoreDeserializerUtils.parse_percentage(1.50), Decimal("150.0"))
  