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