示例#1
0
        public void AddBinary6()
        {
            //Arrange
            string a = "11";
            string b = "0";

            string excepted = "11";

            //Act
            Solution067 s      = new Solution067();
            string      actual = s.AddBinary(a, b);

            //Assert
            Assert.Equal(excepted, actual);
        }
示例#2
0
 public void TestMethod(string a, string b, string output)
 {
     Assert.Equal(output, Solution067.AddBinary(a, b));
 }