def METHOD_NAME(self):
    self.assertModule(
        "r.series",
        flags="z",
        input=[self.elevation] * 4,
        method=["average", "count", "median", "sum"],
        output=[self.average, self.count, self.median, self.sum_],
        nprocs=4,
    )
    self.assertRastersNoDifference(
        actual=self.average,
        reference=self.elevation,
        precision=0.00001,
    )
    self.assertRasterMinMax(
        map=self.count,
        refmin=4,
        refmax=4,
    )
    self.assertRastersNoDifference(
        actual=self.median,
        reference=self.elevation,
        precision=0.00001,
    )
    self.assertRastersNoDifference(
        actual=self.sum_,
        reference=self.sum_mapcalc,
        precision=0.00001,
    )