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

def test_can_parse_two_ordinary_steps ( ) : steps = Step . many_from_lines ( ( I_DIE_HAPPY . splitlines ( ) + I_LIKE_VEGETABLES . splitlines ( ) ) ) assert_equals ( len ( steps ) , 2 ) assert isinstance ( steps [ 0 ] , Step ) assert isinstance ( steps [ 1 ] , Step ) assert_equals ( steps [ 0 ] . sentence , I_DIE_HAPPY ) assert_equals ( steps [ 1 ] . sentence , I_LIKE_VEGETABLES )
it should correctly extract two ordinary steps into an array .