def METHOD_NAME(self):
    assert (
        encode_datamap_grid(-90000, -180000) == b"\x00\x00\x00\x00\x00\x00\x00\x00"
    )
    assert encode_datamap_grid(-90000, -180000, codec="base64") == b"AAAAAAAAAAA="
    assert encode_datamap_grid(0, 0) == b"\x00\x01_\x90\x00\x02\xbf "
    assert encode_datamap_grid(0, 0, codec="base64") == b"AAFfkAACvyA="
    assert (
        encode_datamap_grid(90.0, 180.0, scale=True) == b"\x00\x02\xbf \x00\x05~@"
    )
    assert encode_datamap_grid(90000, 180000) == b"\x00\x02\xbf \x00\x05~@"
    assert encode_datamap_grid(90000, 180000, codec="base64") == b"AAK/IAAFfkA="