Update TestGenerator.rb

How to solve cubic equation ?!!?