testArgFromFooInF
Tests the query
?- arg(2,foo(a, f(X,b), c), f(a, Y)).Content copied to clipboard
succeeds on a solver initialized with default built-ins and with and empty theory, producing 2 solutions which binds variable X to a and variable Y to b.