public void IsLittleEndian() { Assert.AreEqual(true, HexOp.IsLittleEndian()); }
public void GetHexForTwoFiftyFive() { Assert.AreEqual("FF-00-00-00", HexOp.GetHexForInt(255)); }
public void GetHexForNegativeValue() { Assert.AreEqual("D1-FF-FF-FF", HexOp.GetHexForInt(-47)); }
public void GetHexForLargeInt() { Assert.AreEqual("0D-0C-0B-0A", HexOp.GetHexForInt(168496141)); }
public void GetHexForTen() { Assert.AreEqual("0A-00-00-00", HexOp.GetHexForInt(10)); }
public void GetIntForTenHex() { Assert.AreEqual(10, HexOp.GetIntForHex(0x0000000A)); }
public void GetIntForZeroHex() { Assert.AreEqual(0, HexOp.GetIntForHex(0x00000000)); }
public void GetIntForLargeHex() { Assert.AreEqual(168496141, HexOp.GetIntForHex(0x0A0B0C0D)); }