internal void FromString(StringConverters sut, string expected) { // arrange // act var actual = sut.Convert(expected, CultureInfo.InvariantCulture); // assert Assert.Equal(expected, actual); }
internal void FromStringArray(StringConverters sut, ImmutableArray <string> values) { // act var actual = sut.Convert(values, CultureInfo.InvariantCulture); // assert var expected = string.Join(", ", values); Assert.Equal(expected, actual); }
internal void FromBool(StringConverters sut) { // arrange // act var actual = sut.Convert(true, CultureInfo.InvariantCulture); // assert Assert.Equal("True", actual); }