public void SByteBinaryRepresentationTest() { var expectedRepresentation = u8ValueRepresentation.Replace("_", ""); var actualRepresentation = i8Value.GetBinaryRepresentation(); Assert.AreEqual(expectedRepresentation, actualRepresentation); foreach (int edgeValue in edgeTotalBitsValues) { Assert.Throws <ArgumentException>(() => default(sbyte).GetBinaryRepresentation(edgeValue)); } }