Exemple #1
0
            public void Base2Binary_to_Base16Hexadecimal(string input, string expected)
            {
                var result = Conversions.BaseToBase(input, Constants.Base2Binary, Constants.Base16Hexadecimal);

                Assert.Equal(expected, result);
            }
Exemple #2
0
            public void Base2Binary_to_Base2Binary(string expected)
            {
                var result = Conversions.BaseToBase(expected, Constants.Base2Binary, Constants.Base2Binary);

                Assert.Equal(expected, result);
            }