def test_longest_strike_above_mean(self):
        self.assertEqualOnAllArrayTypes(
            longest_strike_above_mean, [1, 2, 1, 2, 1, 2, 2, 1], 2
        )
        self.assertEqualOnAllArrayTypes(
            longest_strike_above_mean, [1, 2, 3, 4, 5, 6], 3
        )
        self.assertEqualOnAllArrayTypes(longest_strike_above_mean, [1, 2, 3, 4, 5], 2)
        self.assertEqualOnAllArrayTypes(longest_strike_above_mean, [1, 2, 1], 1)
        self.assertEqualOnAllArrayTypes(longest_strike_above_mean, [], 0)