File indexing completed on 2025-01-05 05:18:57
0001 // SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 0005 #include "kllmconstantstest.h" 0006 #include "KLLMConstants.h" 0007 #include <QTest> 0008 0009 QTEST_GUILESS_MAIN(KLLMConstantsTest) 0010 KLLMConstantsTest::KLLMConstantsTest(QObject *parent) 0011 : QObject{parent} 0012 { 0013 } 0014 0015 void KLLMConstantsTest::shouldHaveDefaultValues() 0016 { 0017 QCOMPARE(KLLMCore::ollamaUrl(), QUrl(QStringLiteral("http://0.0.0.0:11434"))); 0018 } 0019 0020 #include "moc_kllmconstantstest.cpp"