public void TestByteArrayToIntLittleEndianShouldConvertCorrectly() { byte[] testBytes = { 0x89, 0x1c, 0x06, 0x00 }; int correctInteger = 400521; int convertedInteger = ByteHelper.ByteArrayToIntLittleEndian(testBytes); Assert.AreEqual(correctInteger, convertedInteger); }