16 references to StringDigitSubstitute
System.Drawing (1)
System.Drawing.Common (2)
System.Drawing.Common.Tests (13)
System\Drawing\StringFormatTests.cs (13)
19Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod);
34Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod);
50Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod);
64Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod);
105Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod);
126[InlineData(0, StringDigitSubstitute.None, 0)]
127[InlineData(EnglishLanguageCode, StringDigitSubstitute.Traditional, EnglishLanguageCode)]
128[InlineData(int.MaxValue, StringDigitSubstitute.Traditional + 1, 65535)]
129[InlineData(-1, StringDigitSubstitute.User - 1, 65535)]
130public void SetDigitSubstitution_Invoke_SetsProperties(int language, StringDigitSubstitute substitute, int expectedLanguage)
144AssertExtensions.Throws<ArgumentException>(null, () => format.SetDigitSubstitution(0, StringDigitSubstitute.None));
397Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod);
412Assert.Equal(StringDigitSubstitute.User, format.DigitSubstitutionMethod);