diff --git a/cplint/testlpadsld_gbfalse.pl b/cplint/testlpadsld_gbfalse.pl new file mode 100644 index 000000000..15422bed8 --- /dev/null +++ b/cplint/testlpadsld_gbfalse.pl @@ -0,0 +1,215 @@ +/* + LPAD and CP-Logic interpreter test program + +Copyright (c) 2007, Fabrizio Riguzzi + +Test file for lpadsld.pl + +Use +:-t. +to execute the test + +*/ +:-use_module(library(lpadsld)). + + +epsilon(0.000001). + +close_to(V,T):- + epsilon(E), + TLow is T-E, + THigh is T+E, + TLow