def METHOD_NAME(self):
    # Syntax error
    self.assertModuleFail(
        "t.rast3d.algebra",
        expression="R = A {+,equal| precedes| follows,l B",
        basename="r",
    )
    # Granularity syntax error
    self.assertModuleFail(
        "t.rast3d.algebra",
        flags="g",
        expression="R = A {+,equal| precedes| follows,l} B",
        basename="r",
    )
    # No STRDS
    self.assertModuleFail(
        "t.rast3d.algebra", expression="R = NoSTR3DS + NoSTR3DS", basename="r"
    )
    # No basename
    self.assertModuleFail("t.rast3d.algebra", expression="R = A + B")