I\'m working with unit testing using testthat in R. I have to test a function say calculateProfit. My function to test looks like this,
calculateProfit = func