Пример #1
0
        public void fact_method_with_parameters_should_build_example_correctly()
        {
            var      fixture = new FactFixture();
            IGrammar grammar = fixture["XplusYShouldBe"];

            GrammarStructure structure = grammar.ToStructure(new FixtureLibrary());
            IStep            example   = structure.CreateExample();

            example.Values.Count.ShouldEqual(3);
        }
Пример #2
0
        public void fact_method_with_parameters_should_build_example_correctly()
        {
            var fixture = new FactFixture();
            IGrammar grammar = fixture["XplusYShouldBe"];

            GrammarStructure structure = grammar.ToStructure(new FixtureLibrary());
            IStep example = structure.CreateExample();

            example.Values.Count.ShouldEqual(3);
        }