result = new And(new Equals(numbers2, "4"), new Equals(numbers1, "1"));
compound = new And(new Equals(numbers2, "4"), new Equals(numbers1, "1"));
	public void testCondition() {		Knowledgebase kb = new Knowledgebase();		Enumeration numbers1 = new Enumeration("numbers1", new String[] { "1", "2", "3", "4" });		numbers1.select("3", 1);		Enumeration numbers2 = new Enumeration("numbers2", new String[] { "1", "2", "3", "4" });		IFuzzyBoolComponent result = new And(new Equals(numbers1, "4"), new Equals(numbers2, "1"));		// false and undefined => false		assertTrue("shortcut for 'lhs is false' failed", result.evaluate() == FuzzyBoolEnum.FALSE);		result = new And(new Equals(numbers2, "4"), new Equals(numbers1, "1"));		assertTrue("shortcut for 'rhs is false' failed", result.evaluate() == FuzzyBoolEnum.FALSE);		numbers2.select("4", 1);		assertTrue("evaluation 'true and false' failed", result.evaluate() == FuzzyBoolEnum.FALSE);		numbers1.select("1", 1);		assertTrue("evaluation 'true and true' failed", result.evaluate() == FuzzyBoolEnum.TRUE);		numbers2 = new Enumeration("numbers", new String[] { "1", "2", "3", "4" });		result = new And(new Equals(numbers2, "4"), new Equals(numbers1, "1"));		assertTrue("evaluation of undefined expression failed",				result.evaluate() == FuzzyBoolEnum.UNDEFINED);	}