Пример #1
0
        public void Problem008_Convert_To_Hex_Test_3()
        {
            string act      = Problem008.ConvertToHex("Big Boi");
            string excepted = "42 69 67 20 42 6f 69";

            Assert.Equal(act, excepted);
        }
Пример #2
0
        public void Problem008_Convert_To_Hex_Test_1()
        {
            string act      = Problem008.ConvertToHex("hello world");
            string excepted = "68 65 6c 6c 6f 20 77 6f 72 6c 64";

            Assert.Equal(act, excepted);
        }
Пример #3
0
        public void Problem008_Convert_To_Hex_Test_2()
        {
            string act      = Problem008.ConvertToHex("Marty Poppinson");
            string excepted = "4d 61 72 74 79 20 50 6f 70 70 69 6e 73 6f 6e";

            Assert.Equal(act, excepted);
        }