Beispiel #1
0
        public void LengthTest()
        {
            string actual = "afds";

            SAssert.Length(actual, 4);
            XAssert.Throws <ArgumentException>(() => SAssert.Length(actual, 6));
            XAssert.Throws <ArgumentException>(() => SAssert.Length(actual, 2));
        }