* Test for the enhancement required in #252
*/
public void testBooleanDatatypeConstructors() {
KnowledgeBase kb = new KnowledgeBase();
ATermAppl nni = Datatypes.NON_NEGATIVE_INTEGER;
ATermAppl npi = Datatypes.NON_POSITIVE_INTEGER;
ATermAppl ni = Datatypes.NEGATIVE_INTEGER;
ATermAppl pi = Datatypes.POSITIVE_INTEGER;
ATermAppl f = Datatypes.FLOAT;
ATermAppl s = term( "s" );
kb.addDatatypeProperty( s );
assertSatisfiable( kb, some( s, pi ) );
assertSatisfiable( kb, some( s, not ( pi ) ) );
assertUnsatisfiable( kb, some( s, and( pi, ni ) ) );