public void TestFloatToStringConversion()
 {
     FloatStringConverter conv = new FloatStringConverter();
       object output = conv.Convert((object)4.2f, null, null, null);
       Assert.IsNotNull(output);
       Assert.IsTrue(output is string);
       Assert.Equals((string)output, "4.2");
 }
 public void TestFaultyStringToFloatConversion()
 {
     FloatStringConverter conv = new FloatStringConverter();
       object output = conv.ConvertBack((object)"4d2", null, 42f, null);
       Assert.IsNotNull(output);
       Assert.IsTrue(output is float);
       Assert.Equals((float)output, 42);
 }