Exercise

Manual testing

The function row_to_list(), which you met in the video lesson, has the following expected return values for the arguments listed below.

Argument Expected return value Explanation
"2,081\t314,942\n" ["2,081", "314,942"] Correct row format
"\t293,410\n" None Missing area
"1,463238,765\n" None Missing tab separator

row_to_list() has been defined and imported for you. Your job is to test the function manually in the IPython console.

While testing manually, notice how many times you have to repeat the same steps! The point is to experience the inefficiency of manual testing.

Instructions 1/2

undefined XP
    1
    2

Question

Call row_to_list() in the IPython console on the three arguments listed in the table. Do the actual return values match the expected return values listed in the table?

Possible answers