def METHOD_NAME(fname, tag, exp_value):
    """test_decode_dicom_data"""
    dcm_path = os.path.join(
        os.path.dirname(os.path.abspath(__file__)), "test_dicom", fname
    )
    file_contents = tf.io.read_file(filename=dcm_path)
    dcm_data = tfio.image.decode_dicom_data(contents=file_contents, tags=tag)
    assert dcm_data.numpy() == exp_value