public void MinValue() { Int32 expected, actual; expected = 0; actual = _object.MinValue(null); Assert.AreEqual(expected, actual); expected = 0; actual = _object.MinValue(new int[0].ToEnumerable()); Assert.AreEqual(expected, actual); expected = 1; actual = _object.MinValue(new[] { 1, 4, 5, 2, 2 }.ToEnumerable()); Assert.AreEqual(expected, actual); expected = 2; actual = _object.MinValue(new[] { 6, 4, 7, 4, 2, 7, 2 }.ToEnumerable()); Assert.AreEqual(expected, actual); expected = 6; actual = _object.MinValue(new[] { 6 }.ToEnumerable()); Assert.AreEqual(expected, actual); }