Exemple #1
0
        public void noop_with_action_argument_does_not_call_action()
        {
            int bob = 0;
            int x = new Int32();
            x = 4;
            var result = x.Noop((item) =>
            {
                item = 10;
                bob = 10;
            });

            Assert.Equal(0, bob);
            Assert.Equal(4, result);
        }