Esempio n. 1
0
 public void SadPath1()
 {
     Assert.False(MergedStringChecker.IsMerge("codewars", "cod", "wars"), "Codewars are not codwars");
     Assert.False(MergedStringChecker.SmartAssMerge("codewars", "cod", "wars"), "Codewars are not codwars");
 }
Esempio n. 2
0
 public void SadPath2()
 {
     Assert.False(MergedStringChecker.IsMerge("codewars", "code", "wasr"), "codewars can't be created from code and wasr");
     Assert.False(MergedStringChecker.SmartAssMerge("codewars", "cod", "wars"), "Codewars are not codwars");
 }
Esempio n. 3
0
 public void HappyPath1()
 {
     Assert.True(MergedStringChecker.IsMerge("codewars", "code", "wars"), "codewars can be created from code and wars");
     Assert.True(MergedStringChecker.SmartAssMerge("codewars", "code", "wars"), "codewars can be created from code and wars");
     Assert.True(MergedStringChecker.McMerge("codewars", "code", "wars"), "codewars can be created from code and wars");
 }