Code Duplication    Length = 8-8 lines in 4 locations

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

@@ 222-229 (lines=8) @@
219
     *
220
     * IsLeapYear()の挙動をテストする(範囲外:下限値より下、小数)
221
     */
222
    public function test_IsBetween_OutRangePart5()
223
    {
224
        $test = '0.9';
225
        $low = '1.0';
226
        $high = '9.0';
227
228
        $this->assertFalse( Validate::isBetween( $test, $low, $high ) );
229
    }
230
231
    /**
232
     * test_IsBetween_OutRangePart6()
@@ 236-243 (lines=8) @@
233
     *
234
     * IsLeapYear()の挙動をテストする(範囲外:上限値より上、小数)
235
     */
236
    public function test_IsBetween_OutRangePart6()
237
    {
238
        $test = '9.1';
239
        $low = '1.0';
240
        $high = '9.0';
241
242
        $this->assertFalse( Validate::isBetween( $test, $low, $high ) );
243
    }
244
245
    /**
246
     * test_IsBetween_OutRangePart7()
@@ 250-257 (lines=8) @@
247
     *
248
     * IsLeapYear()の挙動をテストする(範囲外:下限値より下、負数、小数)
249
     */
250
    public function test_IsBetween_OutRangePart7()
251
    {
252
        $test = '-9.1';
253
        $low = '-9.0';
254
        $high = '-2.0';
255
256
        $this->assertFalse( Validate::isBetween( $test, $low, $high ) );
257
    }
258
259
    /**
260
     * test_IsBetween_OutRangePart8()
@@ 264-271 (lines=8) @@
261
     *
262
     * IsLeapYear()の挙動をテストする(範囲外:上限値より上、負数、小数)
263
     */
264
    public function test_IsBetween_OutRangePart8()
265
    {
266
        $test = '-1.9';
267
        $low = '-9.0';
268
        $high = '-2.0';
269
270
        $this->assertFalse( Validate::isBetween( $test, $low, $high ) );
271
    }
272
}