public void TestMethodIsSubSet2() { PowerSet set1 = new PowerSet(); PowerSet set2 = new PowerSet(); Dictionary <int, object> dict = new Dictionary <int, object>(); set2.put(22); set2.put("привет"); set2.put("thx"); set1.put(22); set1.put("thx"); bool check = set1.issubset(set2); Assert.AreEqual(false, check); }
public void TestMethodIsSubSet1() { PowerSet set1 = new PowerSet(); PowerSet set2 = new PowerSet(); PowerSet dict = new PowerSet(); set1.put(22); set1.put("привет"); set1.put("thx"); set2.put(22); set2.put("thx"); bool check = set1.issubset(set2); Assert.AreEqual(true, check); }