dynamicly set the domain's maximums (x & y)
set up assert in order to test the findMinimum fonction