...
/Coding Challenge: Writing a Parameterized Test
Coding Challenge: Writing a Parameterized Test
Let's write a parametrized test for a function.
We'll cover the following...
Problem statement
- Write a parameterized test for the
squared
function, given below. Your task is to verify that the function returns the squares of the input values,1
,5
,10
, and100
.
Complete the code
Access this course and 1400+ top-rated courses and projects.