public void CreateChosenListTest() { _index.Add(0); _index.Add(1); _questionText.SetIndex(_index); _english.Add(ENGLISH_ONE); _english.Add(ENGLISH_TWO); _chinese.Add(CHINESE_ONE); _chinese.Add(CHINESE_TWO); _questionText.CreateChosenList(_chinese, _english); List <string> chinese = _questionText.GetChosenChineseList(); List <string> english = _questionText.GetChosenEnglishList(); Assert.AreEqual(_chinese.ElementAt(0), chinese.ElementAt(0)); Assert.AreEqual(_chinese.ElementAt(1), chinese.ElementAt(1)); Assert.AreEqual(_english.ElementAt(0), english.ElementAt(0)); Assert.AreEqual(_english.ElementAt(1), english.ElementAt(1)); }