예제 #1
0
파일: Tests.cs 프로젝트: 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);
 }
예제 #2
0
파일: Tests.cs 프로젝트: 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);
 }