Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to Reinterpret from bool[] #2

Open
HelloKitty opened this issue Nov 15, 2018 · 0 comments
Open

Fails to Reinterpret from bool[] #2

HelloKitty opened this issue Nov 15, 2018 · 0 comments

Comments

@HelloKitty
Copy link
Owner

Test Name: Ctor_BitArray
Test FullName: Guardians.WireReadyBitArrayTests.Ctor_BitArray
Test Source: C:\Users\Glader\Documents\GitHub\Guardians.Library\test\Guardians.Tests\UnitTests\ZoneCommon\WireReadyBitArrayTests.cs : line 128
Test Outcome: Failed
Test Duration: 0:00:00.004

Result StackTrace:
at Reinterpret.Net.ThrowHelpers.ThrowMismatchedArraySizeForElementTypeTConvertType
at Reinterpret.Net.ReInterpretFromBytesExtensions.ReinterpretToArray[TConvertType](Byte[] bytes)
at Guardians.WireReadyBitArrayTests.Ctor_BitArray_TestData()+MoveNext() in C:\Users\Glader\Documents\GitHub\Guardians.Library\test\Guardians.Tests\UnitTests\ZoneCommon\WireReadyBitArrayTests.cs:line 108
at NUnit.Framework.TestCaseSourceAttribute.GetTestCasesFor(IMethodInfo method) in C:\src\nunit\nunit\src\NUnitFramework\framework\Attributes\TestCaseSourceAttribute.cs:line 177
Result Message: System.InvalidOperationException : Cannot reinterpret to Type: Char[] because the array size mismatches from a multiple of the element size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant