ComparableNumberChecker.java

1
package com.github.dakusui.pcond.core.fluent.builtins;
2
3
4
import com.github.dakusui.pcond.core.fluent.AbstractObjectChecker;
5
import com.github.dakusui.pcond.forms.Predicates;
6
7
public interface ComparableNumberChecker<
8
    V extends ComparableNumberChecker<V, T, N>,
9
    T,
10
    N extends Number & Comparable<N>
11
    > extends AbstractObjectChecker<V, T, N> {
12
  default V equalTo(N v) {
13 1 1. equalTo : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::equalTo → KILLED
    return checkWithPredicate(Predicates.equalTo(v));
14
  }
15
16
  default V lessThan(N v) {
17 1 1. lessThan : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::lessThan → KILLED
    return checkWithPredicate(Predicates.lessThan(v));
18
  }
19
20
  default V lessThanOrEqualTo(N v) {
21 1 1. lessThanOrEqualTo : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::lessThanOrEqualTo → KILLED
    return checkWithPredicate(Predicates.lessThanOrEqualTo(v));
22
  }
23
24
  default V greaterThan(N v) {
25 1 1. greaterThan : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::greaterThan → KILLED
    return checkWithPredicate(Predicates.greaterThan(v));
26
  }
27
28
  default V greaterThanOrEqualTo(N v) {
29 1 1. greaterThanOrEqualTo : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::greaterThanOrEqualTo → KILLED
    return checkWithPredicate(Predicates.greaterThanOrEqualTo(v));
30
  }
31
}

Mutations

13

1.1
Location : equalTo
Killed by : com.github.dakusui.ut.thincrest.ut.styles.MoreFluentComparableNumberCheckerTest.test_Float(com.github.dakusui.ut.thincrest.ut.styles.MoreFluentComparableNumberCheckerTest)
replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::equalTo → KILLED

17

1.1
Location : lessThan
Killed by : com.github.dakusui.pcond.types.FloatTest.floatTransformerTest(com.github.dakusui.pcond.types.FloatTest)
replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::lessThan → KILLED

21

1.1
Location : lessThanOrEqualTo
Killed by : com.github.dakusui.ut.thincrest.ut.styles.MoreFluentComparableNumberCheckerTest.test_lessThanOrEqualTo(com.github.dakusui.ut.thincrest.ut.styles.MoreFluentComparableNumberCheckerTest)
replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::lessThanOrEqualTo → KILLED

25

1.1
Location : greaterThan
Killed by : com.github.dakusui.ut.thincrest.ut.styles.MoreFluentComparableNumberCheckerTest.test_greaterThan(com.github.dakusui.ut.thincrest.ut.styles.MoreFluentComparableNumberCheckerTest)
replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::greaterThan → KILLED

29

1.1
Location : greaterThanOrEqualTo
Killed by : com.github.dakusui.ut.thincrest.ut.styles.MoreFluentComparableNumberCheckerTest.test_greaterThanOrEqualTo(com.github.dakusui.ut.thincrest.ut.styles.MoreFluentComparableNumberCheckerTest)
replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/ComparableNumberChecker::greaterThanOrEqualTo → KILLED

Active mutators

Tests examined


Report generated by PIT 1.7.3