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

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

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