Extensions.cs Unit Tests

This class contains all of the extension methods used by Rhyduino.

A line through the test indicates that it has been written and checked in to the source repository.

Extensions.ToHexString(this byte[] value) - Formats a byte array into an easily readable string of hex bytes. Extensions.ToTwo7BitBytes(this int value) - This function takes an integer and formats it as two 7-bit bytes (the format used by Firmata for sending numerical data). Extensions.Trim(this byte[] value) - This function removes trailing null bytes from a byte array.