public void BinaryStringToSingle_PositiveBinaryString_Pass() { string input = "01000000010010010000111111011000"; float expected = 3.141592f; float actual = fc.BinaryStringToSingle(input); Assert.AreEqual(expected, actual); }
public void BinaryStringToSingle_PositiveBinaryString_Pass() { string input = "01000000010010010000111111011000"; float expected = 3.141592f; float actual = fc.BinaryStringToSingle(input); Assert.AreEqual(expected, actual); }