From 25319a49650512cbd24aaa64a818a7e93272a5ea Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 16 Mar 2021 10:55:36 +0100 Subject: [PATCH] Big-endian test case fixes: Visual Basic * Enable Randomize_SetsExpectedState test case on big-endian systems (VBMath.Randomize already handles big-endian systems) --- src/libraries/Microsoft.VisualBasic.Core/tests/VBMathTests.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libraries/Microsoft.VisualBasic.Core/tests/VBMathTests.cs b/src/libraries/Microsoft.VisualBasic.Core/tests/VBMathTests.cs index 7a9d2bd05aaf1c..22c0d88bb66970 100644 --- a/src/libraries/Microsoft.VisualBasic.Core/tests/VBMathTests.cs +++ b/src/libraries/Microsoft.VisualBasic.Core/tests/VBMathTests.cs @@ -171,9 +171,6 @@ public void Randomize_SetsExpectedState() { ResetSeed(); - if (!BitConverter.IsLittleEndian) - throw new NotImplementedException("big endian tests"); - VBMath.Randomize(-2E30); Assert.Equal(-0.0297851562f, VBMath.Rnd(0.0f)); VBMath.Randomize(-0.003356);