Exemple #1
0
        public void SomeFalse_WhenValuesIsNull_ReturnsTrue()
        {
            //Act
            var result = Bool.SomeFalse(null);

            //Assert
            Assert.True(result);
        }
Exemple #2
0
        public void SomeFalse_WhenIsInvalidInput_ReturnsTrue(params bool[] values)
        {
            //Act
            var result = Bool.SomeFalse(values);

            //Assert
            Assert.True(result);
        }
Exemple #3
0
 public static string txtStatus(params bool[] values)
 {
     if (Bool.SomeFalse(values))
     {
         return(txtMuted);
     }
     else
     {
         return(txtPrimary);
     }
 }