Skip to content

Commit 26904d7

Browse files
committed
Update TestTorchTensor.cs
1 parent 0d82897 commit 26904d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/TorchSharpTest/TestTorchTensor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ public void Test3DToJuliaString()
185185
0.01f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,
186186
}, 2, 2, 4);
187187
var str = t.jlstr("0.0000000", cultureInfo: CultureInfo.InvariantCulture);
188-
Assert.Equal($"[2x2x4], type = Float32, device = cpu\n[0,..,..] =\n 0.0000000 3.1410000 6.2834000 3.1415200\n" +
188+
Assert.Equal(($"[2x2x4], type = Float32, device = cpu\n[0,..,..] =\n 0.0000000 3.1410000 6.2834000 3.1415200\n" +
189189
$" 0.0000063 -13.1415300 0.0100000 4713.1400000\n\n[1,..,..] =\n 0.0100000 0.0000000 0.0000000 0.0000000\n" +
190-
$" 0.0000000 0.0000000 0.0000000 0.0000000\n".Replace("\n", Environment.NewLine),
190+
$" 0.0000000 0.0000000 0.0000000 0.0000000\n").Replace("\n", Environment.NewLine),
191191
str);
192192
}
193193
}

0 commit comments

Comments
 (0)