public void Test_Format(float input, string expected) { // Act. var actual = _converter.Format(new FieldFormattingContext(input, null, typeof(float))); // Assert. Assert.Equal(expected, actual); }