def METHOD_NAME(self, enc_min, enc_max, is_symmetric, is_strict):
    """
    Test that the recomputed encoding within libpymo TensorQuantizer matches with the way encodings are recomputed
    in calculate_delta_offset and compute_min_max_given_delta_offset.
    """
    tensor_quantizer = libpymo.TensorQuantizer(libpymo.QuantizationMode.QUANTIZATION_TF,
                                               libpymo.RoundingMode.ROUND_NEAREST)
    tensor_quantizer.isEncodingValid = True
    in_tensor = np.array([-100.0, 100.0])
    out_tensor = np.zeros(in_tensor.shape).astype(np.float32)
    tensor_quantizer.quantizeDequantize(in_tensor, out_tensor, enc_min, enc_max, 3, False)
    delta, offset = calculate_delta_offset(enc_min, enc_max, 3, is_symmetric, is_strict)
    new_enc_min, new_enc_max = compute_min_max_given_delta_offset(delta, offset, 3, is_symmetric, is_strict)
    assert np.allclose(out_tensor[0], new_enc_min, atol=1e-5)
    assert np.allclose(out_tensor[1], new_enc_max, atol=1e-5)