예제 #1
0
 public void Resolve_InappropriateTermType_True()
 {
     var resolverType = new ResolverType<FunctionDeclarationTerm>();
     var term = new ConstantDeclarationTerm("variable");
     Assert.That(resolverType.Resolve(term), Is.False);
 }
예제 #2
0
 public void Resolve_AppropriateTermType_True()
 {
     var resolverType = new ResolverType<FunctionDeclarationTerm>();
     var term = new FunctionDeclarationTerm("variable", 1);
     Assert.That(resolverType.Resolve(term), Is.True);
 }