public void execute_with_exceptions() { grammar = new ReadGrammar<int>("var", x => { throw new NotImplementedException(); }); Step step = new Step("some grammar").With("var", "1"); grammar.Execute(step).ShouldEqual(0, 0, 1, 0); }
public void execute_with_exceptions() { grammar = new ReadGrammar <int>("var", x => { throw new NotImplementedException(); }); Step step = new Step("some grammar").With("var", "1"); grammar.Execute(step).ShouldEqual(0, 0, 1, 0); }
public void SetUp() { whatWasRead = 0; grammar = new ReadGrammar<int>("var", x => whatWasRead = x); }
public void SetUp() { whatWasRead = 0; grammar = new ReadGrammar <int>("var", x => whatWasRead = x); }