def test_count_above(self):
        self.assertEqualPandasSeriesWrapper(count_above, [1] * 10, 1, t=1)
        self.assertEqualPandasSeriesWrapper(count_above, list(range(10)), 1, t=0)
        self.assertEqualPandasSeriesWrapper(count_above, list(range(10)), 0.5, t=5)
        self.assertEqualPandasSeriesWrapper(
            count_above, [0.1, 0.2, 0.3] * 3, 2 / 3, t=0.2
        )
        self.assertEqualPandasSeriesWrapper(count_above, [np.NaN, 0, 1] * 3, 2 / 3, t=0)
        self.assertEqualPandasSeriesWrapper(
            count_above, [np.NINF, 0, 1] * 3, 2 / 3, t=0
        )
        self.assertEqualPandasSeriesWrapper(count_above, [np.PINF, 0, 1] * 3, 1, t=0)
        self.assertEqualPandasSeriesWrapper(
            count_above, [np.NaN, 0, 1] * 3, 0, t=np.NaN
        )
        self.assertEqualPandasSeriesWrapper(
            count_above, [np.NINF, 0, np.PINF] * 3, 1, t=np.NINF
        )
        self.assertEqualPandasSeriesWrapper(
            count_above, [np.PINF, 0, 1] * 3, 1 / 3, t=np.PINF
        )