package factorial;

  function automatic int unsigned factorial(int unsigned n);
    return 0;
  endfunction

endpackage


Implement enough production code to make one test pass
package factorial;

  function automatic int unsigned factorial(int unsigned n);
    return 1;
  endfunction

endpackage