Completed
Push — master ( 0375a2...821836 )
by Ivannis Suárez
02:49
created

SameTests::evaluateSuccessDataProvider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 1 Features 1
Metric Value
c 3
b 1
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
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