public void Test3() { var erg = Woerterbuch.Start("a=1;;b=2"); Assert.AreEqual(erg["a"], "1"); Assert.AreEqual(erg["b"], "2"); }
public void Test2() { var erg = Woerterbuch.Start("a=1;a=2;c=3"); Assert.AreEqual(erg["a"], "2"); Assert.AreEqual(erg["c"], "3"); }
public void Test8() { var erg = Woerterbuch.Start("a=1;b=2;c=;a=5;;c=3;d=1;b=2;z=Ich werde gezwungen CleanCode zu schreiben"); Assert.AreEqual(erg["a"], "5"); Assert.AreEqual(erg["b"], "2"); Assert.AreEqual(erg["c"], "3"); Assert.AreEqual(erg["d"], "1"); Assert.AreEqual(erg["z"], "Ich werde gezwungen CleanCode zu schreiben"); }
public void Test7() { var erg = Woerterbuch.Start("a==1"); Assert.AreEqual(erg["a"], "=1"); }
public void Test6() { var erg = Woerterbuch.Start(""); Assert.AreEqual(erg.Count, 0); }