Skip to content

Commit 0f0b09d

Browse files
AhmedZeroalinpahontu2912
authored andcommitted
Remove TestConstructor_ThrowsArgumentException_IfMeansAndStdevsHaveWrongLengths test for ArgumentException in Normalize function
1 parent b9b9bd0 commit 0f0b09d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/TorchSharpTest/TestTorchVision.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -845,17 +845,6 @@ public void TestConstructor_ThrowsArgumentException_IfMeansAndStdevsHaveDifferen
845845
Assert.Throws<ArgumentException>(() => Normalize(means, stdevs));
846846
}
847847

848-
[Fact]
849-
public void TestConstructor_ThrowsArgumentException_IfMeansAndStdevsHaveWrongLengths()
850-
{
851-
// Arrange
852-
double[] means = { 0.485, 0.456 };
853-
double[] stdevs = { 0.229, 0.224 }; // Not 1 or 3
854-
855-
// Act & Assert
856-
Assert.Throws<ArgumentException>(() => Normalize(means, stdevs));
857-
}
858-
859848
[Fact]
860849
public void TestConstructor_CreatesNewNormalizeObject_WithValidArguments()
861850
{

0 commit comments

Comments
 (0)