Skip to content

Instantly share code, notes, and snippets.

@PreyeaRegmi
Created August 30, 2021 15:30
Show Gist options
  • Save PreyeaRegmi/e8854baf92a4f979e2961297c585552d to your computer and use it in GitHub Desktop.
Save PreyeaRegmi/e8854baf92a4f979e2961297c585552d to your computer and use it in GitHub Desktop.
void main()
{
test("EMI cannot be zero",()
{
EMICalculator emiCalculator=EMICalculator(1,2,3);
//Performing assertion
expect(emiCalculator.calculateEMI(),greaterThan(0),reason:"EMI calculated is zero");
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment