public static void Main()
var x = new NUnitLite.AutoRun().Execute(new string[]{"--test:Testy.MyTests", "--noc"});
Console.WriteLine("----------------------------------------------");
Console.WriteLine(x==0?"All Test Passed... :¬)": string.Format("{0} tests failed... :¬(", x));
Console.WriteLine("----------------------------------------------");
public void TruthTableTest(bool isValid, bool czeched)
if(isValid && czeched) expected = true;
if(isValid && !czeched) expected = false;
if(!isValid && czeched) expected = false;
if(!isValid && !czeched) expected = false;
bool test = isValid && czeched;
Assert.That(test, Is.EqualTo(expected));
public void OldWayWorksTheSame(bool isValid, bool czeched)
Assert.That(test, !Is.Null);
Assert.That(test, Is.EqualTo(isValid && czeched));