public void WrongTypeObjectTest() { var graph = new Graph(); var tuple2 = new Tuple2(); // Wrong type Sets should be accepted as elements graph.VerticesSet.Add(tuple2); Assert.IsInstanceOfType(graph.VerticesSet.Enumerable.First(), typeof(Tuple2)); Assert.IsTrue(tuple2.Equals(graph.VerticesSet.Enumerable.First())); }