Searched refs:CustomInt (Results 1 – 5 of 5) sorted by relevance
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/number/ |
D | OrderingComparisonTest.java | 67 assertThat(new CustomInt(5), lessThan(new CustomInt(10))); in testComparesCustomTypesWhoseCompareToReturnsValuesGreaterThatOne() 70 private static final class CustomInt implements Comparable<CustomInt> { class in OrderingComparisonTest 72 public CustomInt(int value) { in CustomInt() method in OrderingComparisonTest.CustomInt 76 public int compareTo(CustomInt other) { in compareTo()
|
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/comparator/ |
D | ComparatorMatcherTest.java | 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) {
|
D | ComparatorMatcherBuilderTest.java | 95 …assertThat(new CustomInt(5), ComparatorMatcherBuilder.<CustomInt>usingNaturalOrdering().lessThan(n… in testComparesCustomTypesWhoseCompareToReturnsValuesGreaterThatOne() 116 private static final class CustomInt implements Comparable<CustomInt> { class in ComparatorMatcherBuilderTest 119 public CustomInt(int value) { in CustomInt() method in ComparatorMatcherBuilderTest.CustomInt 124 public int compareTo(CustomInt other) { in compareTo()
|
/external/python/cpython2/Lib/test/ |
D | test_zlib.py | 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
|
/external/python/cpython3/Lib/test/ |
D | test_zlib.py | 213 self.assertEqual(zlib.decompress(compressed, 15, CustomInt()), data) 423 self.assertEqual(dco.decompress(compressed, CustomInt()), data[:100]) 633 self.assertEqual(dco.flush(CustomInt()), input[1:]) 909 class CustomInt: class
|