title: How to write Test Cases?
body: <p>I want to learn how to write test cases before writing the code. I read an article about test-driven development. I wonder how developers write test cases? For Example this method:</p>
  
  <pre><code>    public int divideNumbers(int num1, int num2)
      {
        return num1 / num2;
      }
  </code></pre>