public void powers(string infinityNumber, int pow, string expectedResult)
        {
            var n0       = InfinityNumber.Parse(infinityNumber);
            var result   = n0 ^ pow;
            var expected = InfinityNumber.Parse(expectedResult);

            Assert.True(expected == result, " expected = " + expected + " actual = " + result);
        }
        public void StringConversion(string input, double expectedPrefix, int expectedPostfix, int scale)
        {
            var n0 = InfinityNumber.Parse(input);

            n0.SetScale(scale);
            Assert.Equal(expectedPrefix, n0.Prefix);
            Assert.Equal(expectedPostfix, n0.Postfix);
        }