Skip to content

Added Binary Stream UInt32 ReadWrite Unit Test

Ray requested to merge Daniel-McCarthy:NewUnitTest into master

Created by: Daniel-McCarthy

-Created BinaryStreamTestsUInt32.cs class for UInt32 specific BinaryStream tests. -Added ReadWriteUInt32() Unit Test to demonstrate the read and write functions in both little and bit endian.

I have created a unit test for reading and writing UInt32 values with the Binary Stream. I based it off the unit test for UInt32 values with StreamExtensions to keep the tests consistent. This one has a bit more to it than the previous Seek unit test I added.

Let me know if you have any feedback or issues with how I have set this test up. If it all checks out I would be happy to continue doing more in a similar fashion. Otherwise I can make adjustments if needed.

Merge request reports