def test___iter___02():
    events = list(pattern_02)
    assert (pytest.helpers.get_objects_as_string(events, replace_uuids=True) == uqbar.strings.normalize("\n        NoteEvent(\n            foo='A',\n            repeat=True,\n            uuid=UUID('A'),\n        )\n        NoteEvent(\n            foo='B',\n            uuid=UUID('B'),\n        )\n        NoteEvent(\n            foo='C',\n            uuid=UUID('C'),\n        )\n        NoteEvent(\n            foo='A',\n            repeat=True,\n            uuid=UUID('D'),\n        )\n        NoteEvent(\n            foo='B',\n            uuid=UUID('E'),\n        )\n        NoteEvent(\n            foo='C',\n            uuid=UUID('F'),\n        )\n        NoteEvent(\n            foo='A',\n            repeat=True,\n            uuid=UUID('G'),\n        )\n        NoteEvent(\n            foo='B',\n            uuid=UUID('H'),\n        )\n        NoteEvent(\n            foo='C',\n            uuid=UUID('I'),\n        )\n        "))
def test___iter___02():
    events = list(pattern_02)
    assert (pytest.helpers.get_objects_as_string(events, replace_uuids=True) == uqbar.strings.normalize("\n        NoteEvent(\n            foo='A',\n            repeat=True,\n            uuid=UUID('A'),\n        )\n        NoteEvent(\n            foo='B',\n            uuid=UUID('B'),\n        )\n        NoteEvent(\n            foo='C',\n            uuid=UUID('C'),\n        )\n        NoteEvent(\n            foo='A',\n            repeat=True,\n            uuid=UUID('D'),\n        )\n        NoteEvent(\n            foo='B',\n            uuid=UUID('E'),\n        )\n        NoteEvent(\n            foo='C',\n            uuid=UUID('F'),\n        )\n        NoteEvent(\n            foo='A',\n            repeat=True,\n            uuid=UUID('G'),\n        )\n        NoteEvent(\n            foo='B',\n            uuid=UUID('H'),\n        )\n        NoteEvent(\n            foo='C',\n            uuid=UUID('I'),\n        )\n        "))