NotSameTests   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 24
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A evaluateSuccessDataProvider() 0 8 1
A evaluateFailureDataProvider() 0 6 1
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
 * Not Same Tests Class.
14
 *
15
 * @author Ivannis Suárez Jerez <[email protected]>
16
 * @author Karel Osorio Ramírez <[email protected]>
17
 */
18
class NotSameTests extends BinaryConstraintOperatorTestCase
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23
    protected function evaluateSuccessDataProvider()
24
    {
25
        return array(
26
            array(4.999),
27
            array(5.0),
28
            array(6),
29
        );
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    protected function evaluateFailureDataProvider()
36
    {
37
        return array(
38
            array(5),
39
        );
40
    }
41
}
42