Code Duplication    Length = 8-8 lines in 5 locations

risoluto/lib/vendor_test/Risoluto/ValidateTest/ValidateTest4IsBetween.php 5 locations

@@ 40-47 (lines=8) @@
37
     *
38
     * IsLeapYear()の挙動をテストする(範囲内:全て同値)
39
     */
40
    public function test_IsBetween_InRangePart1()
41
    {
42
        $test = '0';
43
        $low = '0';
44
        $high = '0';
45
46
        $this->assertTrue( Validate::isBetween( $test, $low, $high ) );
47
    }
48
49
    /**
50
     * test_IsBetween_InRangePart2()
@@ 110-117 (lines=8) @@
107
     *
108
     * IsLeapYear()の挙動をテストする(範囲内:下限値と同値、小数)
109
     */
110
    public function test_IsBetween_InRangePart6()
111
    {
112
        $test = '1.0';
113
        $low = '1.0';
114
        $high = '9.0';
115
116
        $this->assertTrue( Validate::isBetween( $test, $low, $high ) );
117
    }
118
119
    /**
120
     * test_IsBetween_InRangePart7()
@@ 124-131 (lines=8) @@
121
     *
122
     * IsLeapYear()の挙動をテストする(範囲内:上限値と同値、小数)
123
     */
124
    public function test_IsBetween_InRangePart7()
125
    {
126
        $test = '9.0';
127
        $low = '1.0';
128
        $high = '9.0';
129
130
        $this->assertTrue( Validate::isBetween( $test, $low, $high ) );
131
    }
132
133
    /**
134
     * test_IsBetween_InRangePart8()
@@ 138-145 (lines=8) @@
135
     *
136
     * IsLeapYear()の挙動をテストする(範囲内:下限値と同値、小数)
137
     */
138
    public function test_IsBetween_InRangePart8()
139
    {
140
        $test = '-9.0';
141
        $low = '-9.0';
142
        $high = '-2.0';
143
144
        $this->assertTrue( Validate::isBetween( $test, $low, $high ) );
145
    }
146
147
    /**
148
     * test_IsBetween_InRangePart9()
@@ 152-159 (lines=8) @@
149
     *
150
     * IsLeapYear()の挙動をテストする(範囲内:上限値と同値、小数)
151
     */
152
    public function test_IsBetween_InRangePart9()
153
    {
154
        $test = '-2.0';
155
        $low = '-9.0';
156
        $high = '-2.0';
157
158
        $this->assertTrue( Validate::isBetween( $test, $low, $high ) );
159
    }
160
161
    /**
162
     * test_IsBetween_OutRangePart1()