示例#1
0
 public void Misc()
 {
     Assert.Equal(16, TVRemote.TouchesPerWord("does"));
     Assert.Equal(23, TVRemote.TouchesPerWord("your"));
     Assert.Equal(33, TVRemote.TouchesPerWord("solution"));
     Assert.Equal(20, TVRemote.TouchesPerWord("work"));
     Assert.Equal(12, TVRemote.TouchesPerWord("for"));
     Assert.Equal(27, TVRemote.TouchesPerWord("these"));
     Assert.Equal(31, TVRemote.TouchesPerWord("words1"));
     Assert.Equal(47, TVRemote.TouchesPerWord("_1vfkiyn"));
 }
示例#2
0
 public void Example()
 {
     Assert.Equal(36, TVRemote.TouchesPerWord("codewars"));
 }