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