How to test inner functon in qunit

How to test inner functon in qunit

I just started with Qunit, and don't know much about it.

The problem I'm having is that I have written this function in my code and want to test this using Qunit.

    
     
  1. <script>
  2. function calc(firstno, secnum) {
  3. return firstno + secnum;
  4. }
  5. function main(firstno, secnum) {
  6. return calc(firstno, secnum);
  7. }
  8. </script>

So, how should I test the calc function when I write a test case for 
the main function.