Searched refs:CustomInt (Results 1 – 4 of 4) sorted by relevance
67 assertThat(new CustomInt(5), lessThan(new CustomInt(10))); in testComparesCustomTypesWhoseCompareToReturnsValuesGreaterThatOne()70 private static final class CustomInt implements Comparable<CustomInt> { class in OrderingComparisonTest72 public CustomInt(int value) { in CustomInt() method in OrderingComparisonTest.CustomInt76 public int compareTo(CustomInt other) { in compareTo()
73 assertThat(new CustomInt(5), lessThan(new CustomInt(10)));76 private static final class CustomInt implements Comparable<CustomInt> {79 public CustomInt(int value) {83 public int compareTo(CustomInt other) {
95 …assertThat(new CustomInt(5), ComparatorMatcherBuilder.<CustomInt>usingNaturalOrdering().lessThan(n… in testComparesCustomTypesWhoseCompareToReturnsValuesGreaterThatOne()116 private static final class CustomInt implements Comparable<CustomInt> { class in ComparatorMatcherBuilderTest119 public CustomInt(int value) { in CustomInt() method in ComparatorMatcherBuilderTest.CustomInt124 public int compareTo(CustomInt other) { in compareTo()
200 self.assertEqual(zlib.decompress(compressed, 15, CustomInt()), data)377 self.assertEqual(dco.decompress(compressed, CustomInt()), data[:100])491 self.assertEqual(dco.flush(CustomInt()), input[1:])775 class CustomInt: class