Beispiel #1
0
        public void Name_works()
        {
            var size = new CustomSize();

            size.Name = "Ignored";

            Assert.Equal(Resources.Input_Custom, size.Name);
        }
Beispiel #2
0
        public void NameWorks()
        {
            var size = new CustomSize
            {
                Name = "Ignored",
            };

            Assert.AreEqual(Resources.Input_Custom, size.Name);
        }