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); }
public void LengthOnOneTuple() { const int expected = 1; var t = new Tuple<int>(-1); int actual = t.Length(); Assert.AreEqual(expected, actual); }
public void LengthOnTwoTuple() { const int expected = 2; var t = new Tuple<int, int>(-1, -2); int actual = t.Length(); Assert.AreEqual(expected, actual); }
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); }