Esempio n. 1
0
 public void TestMethod2()
 {
     var p = new Premutator("123").GetCollected();
     Assert.IsTrue(p.Contains("123"));
     Assert.IsTrue(p.Contains("213"));
     Assert.IsTrue(p.Contains("321"));
     Assert.IsTrue(p.Contains("312"));
     Assert.IsTrue(p.Contains("321"));
     Assert.IsTrue(p.Contains("312"));
 }
Esempio n. 2
0
 public void TestMethod5()
 {
     var p = new Premutator("ДАМРДИ").GetCollected();
     Assert.IsTrue(p.Contains("МАДРИД"));
 }
Esempio n. 3
0
 public void TestMethod4()
 {
     var p = new Premutator("РОГБЕДОЛ").GetCollected();
     Assert.IsTrue(p.Contains("БЕЛГОРОД"));
 }
Esempio n. 4
0
 public void TestMethod3()
 {
     var p = new Premutator("носки").GetCollected();
     Assert.IsTrue(p.Contains("носик"));
     Assert.IsTrue(p.Contains("оникс"));
 }