SWI-Prolog Did You Know Did you know? SWI-Prolog has a unit test framework Search Documentation:
Predicate library_directory/1