def testCountTotal(self):
        strings = [

            'idk but I just bought bnb',
            'Binance actually provides a great Liquid swap ooportunity there! You only need some BNB and INJ!',
            """
            I already have some.
        I would not buy now, it's too vertical.
        Do you know about VIB ? CFX ? MIR ?
            """,
            'BNB lol',

        ]
        le_dict = {}
        binance_coins = _get_api_stuff()

        for string in strings:
            r = count_unique_symbols_in_string(string, binance_coins)
            le_dict = count_total(r, le_dict)

        self.assertEqual(3, le_dict.get("BNB"))
        self.assertEqual(1, le_dict.get("JST"))
        self.assertEqual(1, le_dict.get("INJ"))
        self.assertEqual(1, le_dict.get("CFX"))
        self.assertEqual(1, le_dict.get("MIR"))
        self.assertEqual(1, le_dict.get("VIB"))
 def testSingle(self):
     binance_coins = _get_api_stuff()
     string = "BNB"
     result = count_unique_symbols_in_string(string, binance_coins)
     self.assertEqual(1, len(result))
 def testNegative(self):
     binance_coins = _get_api_stuff()
     string = "BTCD NK  BNB  EthASS "
     result = count_unique_symbols_in_string(string, binance_coins)
     self.assertEqual(1, len(result))
 def testPositive(self):
     binance_coins = _get_api_stuff()
     string = " BTCD btc Btc LINK  BNB Ethereum Eth ETH"
     result = count_unique_symbols_in_string(string, binance_coins)
     self.assertEqual(4, len(result))
 def testSpecialChar(self):
     binance_coins = _get_api_stuff()
     string = 'Binance actually provides a great Liquid swap ooportunity there! You only need some BNB and INJ!'
     result = count_unique_symbols_in_string(string, binance_coins)
     self.assertEqual(2, len(result))