Ejemplo n.º 1
0
 public static void Throws <T>(Action block)
     where T : Exception
 {
     QUnit.throws(block, (error) => typeof(T).IsAssignableFrom(error.GetType()));
 }
Ejemplo n.º 2
0
 public void It_should_create_instance_correctly()
 {
     array.Push(1);         //THis will crash if DuoCode is not doing it correctly
     QUnit.ok(true);
 }