/*
* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
*
* Author:     leilong  <leilong@uniontech.com>
*
* Maintainer: leilong  <leilong@uniontech.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
#include "test_cmonthschedulenumitem.h"
#include <QPainter>
#include <QStyleOptionGraphicsItem>

//test_cmonthschedulenumItem::test_cmonthschedulenumItem()
//{

//}

//TEST_F(test_cmonthschedulenumItem, setColor_01)
//{
//    QColor color1("#000000");
//    QColor color2("#111111");
//    mItem->setColor(color1, color2);
//    EXPECT_EQ(mItem->m_color1, color1);
//    EXPECT_EQ(mItem->m_color2, color2);
//}

//TEST_F(test_cmonthschedulenumItem, setText_01)
//{
//    QColor color("#000000");
//    mItem->setText(color, QFont());
//    EXPECT_EQ(mItem->m_textcolor, color);
//}

//TEST_F(test_cmonthschedulenumItem, setSizeType_01)
//{
//    QColor color("#000000");
//    mItem->setSizeType(DFontSizeManager::T5);
//    EXPECT_EQ(mItem->m_SizeType, DFontSizeManager::T5);
//}

//TEST_F(test_cmonthschedulenumItem, setData_01)
//{
//    QColor color("#000000");
//    mItem->setData(4);
//    EXPECT_EQ(mItem->m_num, 4);
//}

//TEST_F(test_cmonthschedulenumItem, paint_01)
//{
//    mItem->m_isFocus = true;
//    QPainter painter;
//    QStyleOptionGraphicsItem item;
//    mItem->paint(&painter, &item);
//}
