title: Testing in OCaml
body: <p>I am following an introductory guide for OCaml and a program that I am working on is not working and I was wondering if I could get an explanation why.</p>
  
  <pre><code>let profit_500 : int = 
      let price = 500 in
      let attendees = 120 in
      let revenue = price * attendees in
      let cost = 18000 + 4 * attendees in
      revenue - cost;;
  
  let test () : bool =
      (profitTest 500) = profit_500
  ;; run_test "profit at $5.00" test
  </code></pre>
  
  <p>At line (profitTest 500) = profit_500 I am getting Error: Unbounded value profit test.  Can someone explain why?  This is my first excursion into OCaml, but I know some java.  Can someone also explain why the last ;; goes before run_test instead of after profit_500 (or is that the same)?</p>
  
  <p>Thanks for the help</p>