I'm implementing a natural language generator using prolog (swipl).
I have a .txt test file with some of the phrases I should be able to generate in this format:
[goal,identify,type_object,animal,object,cat,event,ran away,when,[last,mont],where,[]]
[which,cats,ran away,last,month,?]
[goal,identify,type_object,animal,object,dog,event,ran,when,[last,mont],where,[]]
[which,dogs,ran away,last,year,?]
and so on...
How can I use plunit (or something else?) to check if all the elements of my test file are in my output file returning true/false?