Exemplo n.º 1
0
 public void GetWrongChoiceTest()
 {
     _indexTarget = new PrivateObject(_separation);
     _index.Add(0);
     _separation.SetIndex(_index);
     _inputList.Add(FIRST);
     _inputList.Add(LAST);
     _separation.SeparateEnglishAndChinese(_inputList);
     _wrongChoice = _separation.GetWrongChoice(3);
     Assert.AreEqual(false, _wrongChoice.Equals(null));
     _wrongChoice = _separation.GetWrongChoice(2);
     Assert.AreEqual(false, _wrongChoice.Equals(null));
 }