コード例 #1
0
 @Test
 public void bigQuantilesAreTheLastValue() throws Exception {
   assertThat(snapshot.getValue(1.0)).isEqualTo(5.0, offset(0.1));
 }
コード例 #2
0
 @Test
 public void smallQuantilesAreTheFirstValue() throws Exception {
   assertThat(snapshot.getValue(0.0)).isEqualTo(1.0, offset(0.1));
 }