Created
January 9, 2012 16:25
-
-
Save hahmed/1583674 to your computer and use it in GitHub Desktop.
understanding bool operators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public void IsApplesOrBannans() | |
{ | |
bool IsApple = true; | |
bool IsBannana = false; | |
if (!IsApple && !IsBannana) | |
Assert.Fail(); | |
Assert.Pass(); | |
}Is |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment