def _assert_samples(expected_samples, observed_samples):
assert len(expected_samples) == len(observed_samples)<EOL>assert all(map(lambda samples: samples[<NUM_LIT:0>].name == samples[<NUM_LIT:1>].name,<EOL>zip(expected_samples, observed_samples)))<EOL>
Make equality assertions on Sample count and names.

:param Iterable[Sample] expected_samples: collection of expected Sample
    object instances
:param Iterable[Sample] observed_samples: collection of observed Sample
    object instances