<?php
/**
 * Orange Management
 *
 * PHP Version 7.2
 *
 * @package    TBD
 * @copyright  Dennis Eichhorn
 * @license    OMS License 1.0
 * @version    1.0.0
 * @link       http://website.orange-management.de
 */

namespace phpOMS\tests\Business\Finance\Forecasting;

use phpOMS\Business\Finance\Forecasting\SmoothingType;

class SmoothingTypeTest extends \PHPUnit\Framework\TestCase
{
    public function testEnums()
    {
        self::assertEquals(1, \count(SmoothingType::getConstants()));
        self::assertEquals(SmoothingType::getConstants(), array_unique(SmoothingType::getConstants()));

        self::assertEquals(1, SmoothingType::CENTERED_MOVING_AVERAGE);
    }
}
