Created
August 30, 2021 15:30
-
-
Save PreyeaRegmi/e8854baf92a4f979e2961297c585552d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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