public void IsEverywhere() { Boolean expected, actual; expected = true; actual = _object.IsEverywhere(new[] { 1, 2, 1, 3 }.ToEnumerable(), 1); Assert.AreEqual(expected, actual); expected = false; actual = _object.IsEverywhere(new[] { 1, 2, 1, 3 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = false; actual = _object.IsEverywhere(new[] { 1, 2, 1, 3, 4 }.ToEnumerable(), 1); Assert.AreEqual(expected, actual); expected = true; actual = _object.IsEverywhere(new[] { 2, 1, 2, 1 }.ToEnumerable(), 1); Assert.AreEqual(expected, actual); expected = true; actual = _object.IsEverywhere(new[] { 2, 1, 2, 1 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = false; actual = _object.IsEverywhere(new[] { 2, 1, 2, 3, 1 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = true; actual = _object.IsEverywhere(new[] { 3, 1 }.ToEnumerable(), 3); Assert.AreEqual(expected, actual); expected = false; actual = _object.IsEverywhere(new[] { 3, 1 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = true; actual = _object.IsEverywhere(new[] { 3 }.ToEnumerable(), 1); Assert.AreEqual(expected, actual); expected = true; actual = _object.IsEverywhere(new int[0].ToEnumerable(), 1); Assert.AreEqual(expected, actual); expected = true; actual = _object.IsEverywhere(new[] { 1, 2, 1, 2, 3, 2, 5 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = false; actual = _object.IsEverywhere(new[] { 1, 2, 1, 1, 1, 2 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = false; actual = _object.IsEverywhere(new[] { 2, 1, 2, 1, 1, 2 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = false; actual = _object.IsEverywhere(new[] { 2, 1, 2, 2, 2, 1, 1, 2 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = true; actual = _object.IsEverywhere(new[] { 2, 1, 2, 2, 2, 1, 2, 1 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); expected = true; actual = _object.IsEverywhere(new[] { 2, 1, 2, 1, 2 }.ToEnumerable(), 2); Assert.AreEqual(expected, actual); }