예제 #1
0
        public void AddPostStepCallback()
        {
            var    space = new Space();
            string foo   = string.Empty;

            space.AddPostStepCallback((s, k, d) => foo = k + " " + d, "key", "data");

            space.Step(0.1);

            Assert.AreEqual("key data", foo, "#1");
            space.Dispose();
        }