Sign in
apache
/
incubator-marvin
/
refs/heads/poc
/
.
/
PoCs
/
nodejs_poc
/
node_modules
/
index.test.js
blob: a4adc17fba2e58f6983b9ece59c45b9a8a309426 [
file
] [
log
] [
blame
]
const
test
=
require
(
'tape'
)
const
index
=
require
(
'./index'
)
test
(
'Aplicar desconto'
,
(
t
)
=>
{
t
.
assert
(
index
.
aplicarDesconto
(
10
,
5
)
===
5
,
"Descontou corretamente"
)
t
.
end
()
})