GreedyEngineTest - test algoritmo greedy