   guard x.shape == y.shape else {
     XCTFail(
       "shape mismatch: \(x.shape) is not equal to \(y.shape)",
-      file: file,
+      file: (file),
       line: line
     )
     return

    XCTAssert(
      false,
      "value mismatch:\n\(x)\nis not equal to\n\(y)\nwith accuracy \(accuracy)",
      file: file,
      line: line
    )
  }

  XCTAssert(
    abs(x - y).max().scalarized() < accuracy,
    "value mismatch:\n\(x)\nis not equal to\n\(y)\nwith accuracy \(accuracy)",
    file: (file),
    line: line
  )
}
