Example #1
0
        public void IsValid_FalseTest(string s)
        {
            //Arrange
            Solution020 s020 = new Solution020();

            //Act
            bool actual = s020.IsValid(s);

            //Assert
            Assert.False(actual);
        }
Example #2
0
 public void Solves_Problem_020_Example()
 {
     Solution020.Run(10).Should().Be(27);
 }
Example #3
0
 public void TestMethod(string s, bool output)
 {
     Assert.Equal(output, Solution020.IsValid(s));
 }