FloatChecker.java

1
package com.github.dakusui.pcond.core.fluent.builtins;
2
3
4
import java.util.function.Function;
5
import java.util.function.Supplier;
6
7
import static com.github.dakusui.pcond.internals.InternalUtils.trivialIdentityFunction;
8
9
public interface FloatChecker<
10
    T> extends
11
    ComparableNumberChecker<
12
        FloatChecker<T>,
13
        T,
14
        Float> {
15
  class Impl<
16
      T> extends
17
      Base<
18
          FloatChecker<T>,
19
          T,
20
          Float>
21
      implements FloatChecker<T> {
22
    public Impl(Supplier<T> rootValue, Function<T, Float> root) {
23
      super(rootValue, root);
24
    }
25
26
    @Override
27
    public FloatChecker<Float> rebase() {
28 1 1. rebase : replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/FloatChecker$Impl::rebase → SURVIVED
      return new FloatChecker.Impl<>(this::value, trivialIdentityFunction());
29
    }
30
  }
31
}

Mutations

28

1.1
Location : rebase
Killed by : none
replaced return value with null for com/github/dakusui/pcond/core/fluent/builtins/FloatChecker$Impl::rebase → SURVIVED

Active mutators

Tests examined


Report generated by PIT 1.7.3