Created
April 21, 2019 11:51
-
-
Save CristianoRC/1eb5ad491b82a48de5ede848d50fc1a0 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
test('Deve clacular desconto corretamente utilizando valores decimais', () { | |
const desconto = 25.0; | |
const valorSemDesconto = 150.0; | |
const valorComDesconto = valorSemDesconto - desconto; | |
expect( | |
calcularDesconto(valorSemDesconto, desconto, false), valorComDesconto); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment