public void Convert_test_4() { var btoh = new BinaryToHex(); var result = btoh.Convert("11001000000000001001"); Assert.AreEqual(result, "C8009"); }
public void Convert_test_1() { var btoh = new BinaryToHex(); var result = btoh.Convert("010001110101"); Assert.AreEqual(result, "475"); }
public void Convert_test_2() { var btoh = new BinaryToHex(); var result = btoh.Convert("1111101001011010"); Assert.AreEqual(result, "FA5A"); }
static void Main(string[] args) { var btoh = new BinaryToHex(); var result = btoh.Convert("00011111011101110010"); }