UNPKG
@otbi/lotide
Version:
latest (1.0.1)
1.0.1
1.0.0
Lighthouse Lotide
github.com/Oluwatobii/lotide
Oluwatobii/lotide
@otbi/lotide
/
assertEqual.js
11 lines
(9 loc)
•
306 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
// FUNCTION IMPLEMENTATION
const
assertEqual =
function
(
actual, expected
) {
if
(actual === expected) {
console
.
log
(
`✅✅✅Assertion Passed:
${actual}
===
${expected}
`
); }
else
{
console
.
log
(
`🔴🔴🔴Assertion Failed:
${actual}
!==
${expected}
`
); } };
module
.
exports
= assertEqual;