Skip to content
Snippets Groups Projects
Commit 47f8078d authored by Andrej Rasevic's avatar Andrej Rasevic
Browse files

adding test pseduo code

parent b8ea85bd
No related branches found
No related tags found
No related merge requests found
let testData = [
{},
{},
{},
{}
]
// objects with bdays pre 1800's, during 1800's and post 1800's
function filterbasedOnBirthyear(data) {
}
// filter testData based on implementation in script
//let results = testData.filter()
functionTestResultsForFilter(result, ) {
if (result === expected) {
console.log ("filterTestPassed")
} else {
console.error('Fileter test failed')
}
}
functionTestResultsForFilter(results, testData)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment