System.Tests.StringTests.Ctor_Char_Int_Negative_Count_ThrowsArgumentOutOfRangeException C# (CSharp) 메소드

Ctor_Char_Int_Negative_Count_ThrowsArgumentOutOfRangeException() 개인적인 메소드

        public static void Ctor_Char_Int_Negative_Count_ThrowsArgumentOutOfRangeException()
        {
            Assert.Throws<ArgumentOutOfRangeException>("count", () => new string('a', -1)); // Count < 0
        }
StringTests