Example #1
0
 public void LengthOnFiveTuple()
 {
     const int expected = 5;
       var t = new Tuple<int, int, int, int, int>(-1, -2, -3, -4, -5);
       int actual = t.Length();
       Assert.AreEqual(expected, actual);
 }
Example #2
0
 public void LengthOnOneTuple()
 {
     const int expected = 1;
       var t = new Tuple<int>(-1);
       int actual = t.Length();
       Assert.AreEqual(expected, actual);
 }
Example #3
0
 public void LengthOnTwoTuple()
 {
     const int expected = 2;
       var t = new Tuple<int, int>(-1, -2);
       int actual = t.Length();
       Assert.AreEqual(expected, actual);
 }
Example #4
0
 public void LengthOnSevenTuple()
 {
     const int expected = 7;
       var t = new Tuple<int, int, int, int, int, int, int>(-1, -2, -3, -4, -5, -6, -7);
       int actual = t.Length();
       Assert.AreEqual(expected, actual);
 }