File indexing completed on 2024-04-28 04:42:40

0001 /*
0002  * SPDX-FileCopyrightText: 2020-2021 Han Young <hanyoung@protonmail.com>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 #pragma once
0007 
0008 #include <QObject>
0009 #include <QTest>
0010 #include <kweathercore/dailyweatherforecast.h>
0011 
0012 using namespace KWeatherCore;
0013 
0014 class DailyForecastTest : public QObject
0015 {
0016     Q_OBJECT
0017 private Q_SLOTS:
0018     void testNull();
0019     void testHourlyMerge();
0020     void testDailyMerge();
0021     void testJson();
0022 
0023 private:
0024     DailyWeatherForecast d1;
0025     DailyWeatherForecast d2;
0026 };