Beispiel #1
0
        public void TestCopyWorks()
        {
            var story = new Story();
            story.RandomizeObject();

            var story2 = story.Copy();

            Assert.IsTrue(story.Artifact != story2.Artifact);
            Assert.IsTrue(story.EndingLocation != story2.EndingLocation);
            Assert.IsTrue(story.EndingScenario != story2.EndingScenario);
            Assert.IsTrue(story.MajorTwist != story2.MajorTwist);
            Assert.IsTrue(story.StartingLocation != story2.StartingLocation);
            Assert.IsTrue(story.StartingScenario != story2.StartingScenario);
        }