def test_can_parse_a_unary_array_from_complicated_step():
 steps = Step.many_from_lines(I_LIKE_VEGETABLES.splitlines())
 assert_equals(len(steps), 1)
 assert isinstance(steps[0], Step)
 assert_equals(steps[0].sentence, I_LIKE_VEGETABLES)

def test_can_parse_a_unary_array_from_complicated_step ( ) : steps = Step . many_from_lines ( I_LIKE_VEGETABLES . splitlines ( ) ) assert_equals ( len ( steps ) , 1 ) assert isinstance ( steps [ 0 ] , Step ) assert_equals ( steps [ 0 ] . sentence , I_LIKE_VEGETABLES )
it should extract a single tabular step correctly into an array of steps .