public void InterfaceTestMethod() { InterfaceExample _ie = new InterfaceExample(); double _val = _ie[c_OkIndex]; _ie[1] = new Random().NextDouble(); Assert.AreNotEqual(_val, _ie[c_OkIndex]); }
public void InterfaceCountTestMethod() { InterfaceExample _ie = new InterfaceExample(); int _length = 0; foreach (double _item in _ie) { _length++; } Assert.AreEqual(_length, _ie.Count); }
public void InterfaceExceptionTestMethod() { InterfaceExample _ie = new InterfaceExample(); double _val = _ie[c_WrongIndex]; }