AIMA.Test.Core.Unit.SetOpsTest.testUnion C# (CSharp) 메소드

testUnion() 개인적인 메소드

private testUnion ( ) : void
리턴 void
	public void testUnion() {
		List<int> union = SetOps.union(s1, s2);
        Assert.AreEqual(6, union.Count);
        Assert.AreEqual(4, s1.Count);
        Assert.AreEqual(3, s2.Count);

		s1.Remove(1);
        Assert.AreEqual(6, union.Count);
        Assert.AreEqual(3, s1.Count);
        Assert.AreEqual(3, s2.Count);
	}