title: How can I test functions and procedures as they don't belong to classes in Delphi?
body: <p>I have several little functions in an old Unit called <code>Utils.pas</code>. </p>
  
  <p>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.</p>
  
  <p>So I'd like to know how can I test them before refactoring?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>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.</p>
  
  <p><img src="https://i.stack.imgur.com/DAChZ.jpg" alt="enter image description here"></p>