def METHOD_NAME(self):
    signal = np.fromfile(get_path_for_data_file("enocean.complex"), dtype=np.complex64)
    segments = segment_messages_from_magnitudes(np.abs(signal), 0.0448)
    segments = merge_message_segments_for_ook(segments)
    self.assertEqual(len(segments), 3)
    self.assertEqual(segments[0], (2107, 5432))
    self.assertEqual(segments[1], (20428, 23758))
    self.assertEqual(segments[2], (44216, 47546))