Ejemplo n.º 1
0
Archivo: Tests.cs Proyecto: serra/CLAP
 public void Run_preferred_method_for_overload_TestForB_WithGlobal()
 {
     var sut = new Sample_74();
     Parser.Run(new[]
         {
             "foo",
             "-b:3",
             "-c:2",
             "-bar:mike"
         }, sut);
     Assert.That(sut.IsBCalled, Is.True);
 }
Ejemplo n.º 2
0
Archivo: Tests.cs Proyecto: serra/CLAP
 public void Run_preferred_method_for_overload_TestForA()
 {
     var sut = new Sample_74();
     Parser.Run(new[] { "foo", "-a:3" }, sut);
     Assert.That(sut.IsACalled, Is.True);
 }