コード例 #1
0
 public void TestBijnaKlaar2()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(Oef, "abcd def ghus alsjd as ");
     vb.Should().Be("abcd def ghus alsjd as *sala*");
     fb.Should().Be("**** *** **** ***** ** ");
     klaar.Should().BeFalse();
 }
コード例 #2
0
 public void TestK()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(Oef, "abcd def ghus alsjd as sala");
     vb.Should().Be("abcd def ghus alsjd as sala");
     fb.Should().Be("**** *** **** ***** ** ****");
     klaar.Should().BeTrue();
 }
コード例 #3
0
 public void TestZinnen9()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(OefZinnen, "ab\ndef ghu");
     vb.Should().Be("abcd def *ghus⏎*\nalsjd as sala");
     fb.Should().Be("**  ⏎*** ***");
     klaar.Should().BeFalse();
 }
コード例 #4
0
 public void TestZinnen6()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(OefZinnen, "abcd def ghus   \n  ");
     vb.Should().Be("abcd def ghus⏎\n*alsjd* as sala");
     fb.Should().Be("**** *** ****⏎\n");
     klaar.Should().BeFalse();
 }
コード例 #5
0
 public void TestZinnen0()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(OefZinnen, "");
     vb.Should().Be("*abcd* def ghus⏎\nalsjd as sala");
     fb.Should().Be("");
     klaar.Should().BeFalse();
 }
コード例 #6
0
 public void Test0()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(Oef, "a");
     vb.Should().Be("*abcd* def ghus alsjd as sala");
     fb.Should().Be("*");
 }
コード例 #7
0
 public void Test3b()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(Oef, "aaaa  bbb cccc");
     vb.Should().Be("abcd def *ghus* alsjd as sala");
     fb.Should().Be("**** *** ****");
 }
コード例 #8
0
 public void TestX1()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(Data.Oefeningen[0].Zinnen, Data.Oefeningen[0].Zinnen.Substring(0, Data.Oefeningen[0].Zinnen.Length - 4));
     klaar.Should().BeFalse();
 }
コード例 #9
0
 public void TestX()
 {
     var(vb, fb, klaar) = OefeningRenderer.LiveFeedback(Data.Oefeningen[0].Zinnen, Data.Oefeningen[0].Zinnen);
     klaar.Should().BeTrue();
 }