public void ToNativeNumberTest(string amountString, long resultLong)
        {
            CurrencyProvider.Protocol.Tron.CurrencyProvider currencyProvider = GetMainNetCurrencyProvider;

            long nativeNumber = currencyProvider.toNativeNumber(amountString);

            Console.WriteLine($"{amountString}:{resultLong}:{nativeNumber}");
            Assert.AreEqual(resultLong, nativeNumber);
        }
        public void ExceptionTest(string amountString, ParseAmountException.CodeEnum codeEnum)
        {
            CurrencyProvider.Protocol.Tron.CurrencyProvider currencyProvider = GetMainNetCurrencyProvider;

            ParseAmountException exception = Assert.ThrowsException <ParseAmountException>(() => currencyProvider.toNativeNumber(amountString));

            Assert.AreEqual(codeEnum, exception.Code);
            Console.WriteLine($"{amountString}:{exception.Code}:{codeEnum}");
        }