MCPcopy Create free account
hub / github.com/grpc/grpc-java / compareTo_greater

Method compareTo_greater

api/src/test/java/io/grpc/DeadlineTest.java:255–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 }
254
255 @Test
256 public void compareTo_greater() {
257 Deadline d1 = Deadline.after(10, TimeUnit.SECONDS, ticker);
258 ticker.increment(1, TimeUnit.NANOSECONDS);
259 Deadline d2 = Deadline.after(10, TimeUnit.SECONDS, ticker);
260 Truth.assertThat(d2).isGreaterThan(d1);
261 }
262
263 @Test
264 public void compareTo_less() {

Callers

nothing calls this directly

Calls 2

afterMethod · 0.95
incrementMethod · 0.45

Tested by

no test coverage detected