コード例 #1
0
 public void findmaxlenprodHappyTest2()
 {
     maxwordlenthprod MLP = new maxwordlenthprod();
     MLP.findmaxlenprod(new string[] { "a", "ab", "abc", "d", "cd", "bcd", "abcd" }).Should().Be(4);
 }
コード例 #2
0
 public void findmaxlenprodwithCommonLettersinAllWords()
 {
     maxwordlenthprod MLP = new maxwordlenthprod();
     MLP.findmaxlenprod(new string[] { "a", "aa", "aaa", "aaaa" }).Should().Be(0);
 }
コード例 #3
0
 public void findmaxlenprodHappyTest1()
 {
     maxwordlenthprod MLP =new maxwordlenthprod();
     MLP.findmaxlenprod(new string[] {"abcw", "baz", "foo", "bar", "xtfn", "abcdef"}).Should().Be(16);
 }