SameTests::evaluateFailureDataProvider()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
/**
3
 * This file is part of the Cubiche package.
4
 *
5
 * Copyright (c) Cubiche
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Cubiche\Core\Specification\Tests\Units\Constraint;
11
12
/**
13
 * Same Tests Class.
14
 *
15
 * @author Ivannis Suárez Jerez <[email protected]>
16
 * @author Karel Osorio Ramírez <[email protected]>
17
 */
18
class SameTests extends BinaryConstraintOperatorTestCase
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23
    protected function evaluateSuccessDataProvider()
24
    {
25
        return array(
26
            array(5),
27
        );
28
    }
29
30
    /**
31
     * {@inheritdoc}
32
     */
33
    protected function evaluateFailureDataProvider()
34
    {
35
        return array(
36
            array(4.999),
37
            array(5.0),
38
            array(6),
39
        );
40
    }
41
}
42