Exemple #1
0
        public void With_Should_return_EntitySetBuilder()
        {
            using World world = new World();

            EntityRuleBuilder builder = world.GetEntities();

            Check.That(builder.WithEither <bool>().With <int>()).IsEqualTo(builder);
        }
        public void Copy_Should_return_different_instance()
        {
            using World world = new World();

            EntityRuleBuilder builder = world.GetEntities();
            EntityRuleBuilder copy    = builder.WithEither <bool>().Copy();

            Check.That(copy).IsNotEqualTo(builder);
        }