Example #1
0
        private GrilledChicken Grill()
        {
            var theMeat = new GrilledChicken();

            theMeat.Weight = Weight * 0.8M; //'M' is just used here to define a Decimal literal
            return(theMeat);
        }
Example #2
0
        public void Test_GrilledChicken()
        {
            //arrange
            var sut = new GrilledChicken();

            //act

            //assert
            Assert.True(sut.name.Equals("GrilledChicken"));
        }