public void InitializeTest() { orderedList = new string[] { "key1", "key2" }; stringComparerUsingOrderedList = new StringComparerUsingOrderedList(orderedList); Assert.IsInstanceOfType(stringComparerUsingOrderedList, typeof(StringComparerUsingOrderedList)); }
public void Initialize() { _orderedList = new[] { "key1", "key2" }; _stringComparerUsingOrderedList = new StringComparerUsingOrderedList(_orderedList); Assert.IsInstanceOf(typeof(StringComparerUsingOrderedList), _stringComparerUsingOrderedList); }