Skip to content

System.Runtime.Numerics.Tests tests fail on Android #37093

@mdh1418

Description

@mdh1418

Several tests from System.Runtime.Numerics.Tests fail on Android x86

System.Runtime.Numerics.Tests

  • System.Numerics.Tests.ComplexTests.Reciprocal(real: 1.7976931348623157E+308, imaginary: 1.7976931348623157E+308)
  • System.Numerics.Tests.ComplexTests.Reciprocal(real: -1.7976931348623157E+308, imaginary: -1.7976931348623157E+308)
  • System.Numerics.Tests.GetBitLengthTests.RunGetBitLengthTestsLarge - disabled in https://github.com/dotnet/runtime/pull/73773/files
  • System.Numerics.Tests.BigIntegerConstructorTest.RunCtorByteArrayTests
System.Runtime.Numerics.Tests.dll   Failed: 3

Test collection for System.Numerics.Tests.GetBitLengthTests
System.Numerics.Tests.GetBitLengthTests.RunGetBitLengthTestsLarge
    System.OutOfMemoryException : Insufficient memory to continue the execution of the program.

Test collection for System.Numerics.Tests.BigIntegerConstructorTest
System.Numerics.Tests.BigIntegerConstructorTest.RunCtorByteArrayTests
    System.OutOfMemoryException : Insufficient memory to continue the execution of the program.

Test collection for System.Numerics.Tests.ComplexTests
System.Numerics.Tests.ComplexTests.Reciprocal(real: 1.7976931348623157E+308, imaginary: 1.7976931348623157E+308)
    Failure at line 1325. Expected real: 0. Actual real: 2.781342323134E-309\nExpected: True\nActual:   False
System.Numerics.Tests.ComplexTests.Reciprocal(real: -1.7976931348623157E+308, imaginary: -1.7976931348623157E+308)
    Failure at line 1325. Expected real: -0. Actual real: -2.781342323134E-309\nExpected: True\nActual:   False

Edit: Updated based on #50095

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions