I have several little functions in an old Unit called Utils.pas.
Now I’d like refactoring some of them, but I think it’s better to write test before. With DUnit I think it’s impossible without a class.
So I’d like to know how can I test them before refactoring?
Edit:
I thought it was impossible because I was trying to add a test case in Delphi using Test Case Wizard. See the picture bellow that there aren’t any classes and methods, so I’m not be able to create it.

You can’t test a standalone function using the wizard but it’s not a problem to test a standalone function with DUnit.
Example