Home
last modified time | relevance | path

Searched refs:testReverse (Results 1 – 25 of 28) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java242 public void testReverse() { in testReverse() method in BytesTest
243 testReverse(new byte[] {}, new byte[] {}); in testReverse()
244 testReverse(new byte[] {1}, new byte[] {1}); in testReverse()
245 testReverse(new byte[] {1, 2}, new byte[] {2, 1}); in testReverse()
246 testReverse(new byte[] {3, 1, 1}, new byte[] {1, 1, 3}); in testReverse()
247 testReverse(new byte[] {-1, 1, -2, 2}, new byte[] {2, -2, 1, -1}); in testReverse()
250 private static void testReverse(byte[] input, byte[] expectedOutput) { in testReverse() method in BytesTest
256 private static void testReverse(byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) { in testReverse() method in BytesTest
263 testReverse(new byte[] {}, 0, 0, new byte[] {}); in testReverseIndexed()
264 testReverse(new byte[] {1}, 0, 1, new byte[] {1}); in testReverseIndexed()
[all …]
DBooleansTest.java181 public void testReverse() { in testReverse() method in BooleansTest
182 testReverse(new boolean[] {}, new boolean[] {}); in testReverse()
183 testReverse(new boolean[] {true}, new boolean[] {true}); in testReverse()
184 testReverse(new boolean[] {false, true}, new boolean[] {true, false}); in testReverse()
185 testReverse(new boolean[] {true, false, false}, new boolean[] {false, false, true}); in testReverse()
186 testReverse(new boolean[] {true, true, false, false}, new boolean[] {false, false, true, true}); in testReverse()
189 private static void testReverse(boolean[] input, boolean[] expectedOutput) { in testReverse() method in BooleansTest
195 private static void testReverse( in testReverse() method in BooleansTest
203 testReverse(new boolean[] {}, 0, 0, new boolean[] {}); in testReverseIndexed()
204 testReverse(new boolean[] {true}, 0, 1, new boolean[] {true}); in testReverseIndexed()
[all …]
DCharsTest.java323 public void testReverse() { in testReverse() method in CharsTest
324 testReverse(new char[] {}, new char[] {}); in testReverse()
325 testReverse(new char[] {'1'}, new char[] {'1'}); in testReverse()
326 testReverse(new char[] {'1', '2'}, new char[] {'2', '1'}); in testReverse()
327 testReverse(new char[] {'3', '1', '1'}, new char[] {'1', '1', '3'}); in testReverse()
328 testReverse(new char[] {'A', '1', 'B', '2'}, new char[] {'2', 'B', '1', 'A'}); in testReverse()
331 private static void testReverse(char[] input, char[] expectedOutput) { in testReverse() method in CharsTest
337 private static void testReverse(char[] input, int fromIndex, int toIndex, char[] expectedOutput) { in testReverse() method in CharsTest
344 testReverse(new char[] {}, 0, 0, new char[] {}); in testReverseIndexed()
345 testReverse(new char[] {'1'}, 0, 1, new char[] {'1'}); in testReverseIndexed()
[all …]
DShortsTest.java337 public void testReverse() { in testReverse() method in ShortsTest
338 testReverse(new short[] {}, new short[] {}); in testReverse()
339 testReverse(new short[] {1}, new short[] {1}); in testReverse()
340 testReverse(new short[] {1, 2}, new short[] {2, 1}); in testReverse()
341 testReverse(new short[] {3, 1, 1}, new short[] {1, 1, 3}); in testReverse()
342 testReverse(new short[] {-1, 1, -2, 2}, new short[] {2, -2, 1, -1}); in testReverse()
345 private static void testReverse(short[] input, short[] expectedOutput) { in testReverse() method in ShortsTest
351 private static void testReverse( in testReverse() method in ShortsTest
359 testReverse(new short[] {}, 0, 0, new short[] {}); in testReverseIndexed()
360 testReverse(new short[] {1}, 0, 1, new short[] {1}); in testReverseIndexed()
[all …]
DIntsTest.java309 public void testReverse() { in testReverse() method in IntsTest
310 testReverse(new int[] {}, new int[] {}); in testReverse()
311 testReverse(new int[] {1}, new int[] {1}); in testReverse()
312 testReverse(new int[] {1, 2}, new int[] {2, 1}); in testReverse()
313 testReverse(new int[] {3, 1, 1}, new int[] {1, 1, 3}); in testReverse()
314 testReverse(new int[] {-1, 1, -2, 2}, new int[] {2, -2, 1, -1}); in testReverse()
317 private static void testReverse(int[] input, int[] expectedOutput) { in testReverse() method in IntsTest
323 private static void testReverse(int[] input, int fromIndex, int toIndex, int[] expectedOutput) { in testReverse() method in IntsTest
330 testReverse(new int[] {}, 0, 0, new int[] {}); in testReverseIndexed()
331 testReverse(new int[] {1}, 0, 1, new int[] {1}); in testReverseIndexed()
[all …]
DFloatsTest.java317 public void testReverse() { in testReverse() method in FloatsTest
318 testReverse(new float[] {}, new float[] {}); in testReverse()
319 testReverse(new float[] {1}, new float[] {1}); in testReverse()
320 testReverse(new float[] {1, 2}, new float[] {2, 1}); in testReverse()
321 testReverse(new float[] {3, 1, 1}, new float[] {1, 1, 3}); in testReverse()
322 testReverse(new float[] {-1, 1, -2, 2}, new float[] {2, -2, 1, -1}); in testReverse()
325 private static void testReverse(float[] input, float[] expectedOutput) { in testReverse() method in FloatsTest
331 private static void testReverse( in testReverse() method in FloatsTest
339 testReverse(new float[] {}, 0, 0, new float[] {}); in testReverseIndexed()
340 testReverse(new float[] {1}, 0, 1, new float[] {1}); in testReverseIndexed()
[all …]
DLongsTest.java321 public void testReverse() { in testReverse() method in LongsTest
322 testReverse(new long[] {}, new long[] {}); in testReverse()
323 testReverse(new long[] {1}, new long[] {1}); in testReverse()
324 testReverse(new long[] {1, 2}, new long[] {2, 1}); in testReverse()
325 testReverse(new long[] {3, 1, 1}, new long[] {1, 1, 3}); in testReverse()
326 testReverse(new long[] {-1, 1, -2, 2}, new long[] {2, -2, 1, -1}); in testReverse()
329 private static void testReverse(long[] input, long[] expectedOutput) { in testReverse() method in LongsTest
335 private static void testReverse(long[] input, int fromIndex, int toIndex, long[] expectedOutput) { in testReverse() method in LongsTest
342 testReverse(new long[] {}, 0, 0, new long[] {}); in testReverseIndexed()
343 testReverse(new long[] {1}, 0, 1, new long[] {1}); in testReverseIndexed()
[all …]
DDoublesTest.java335 public void testReverse() { in testReverse() method in DoublesTest
336 testReverse(new double[] {}, new double[] {}); in testReverse()
337 testReverse(new double[] {1}, new double[] {1}); in testReverse()
338 testReverse(new double[] {1, 2}, new double[] {2, 1}); in testReverse()
339 testReverse(new double[] {3, 1, 1}, new double[] {1, 1, 3}); in testReverse()
340 testReverse(new double[] {-1, 1, -2, 2}, new double[] {2, -2, 1, -1}); in testReverse()
343 private static void testReverse(double[] input, double[] expectedOutput) { in testReverse() method in DoublesTest
349 private static void testReverse( in testReverse() method in DoublesTest
357 testReverse(new double[] {}, 0, 0, new double[] {}); in testReverseIndexed()
358 testReverse(new double[] {1}, 0, 1, new double[] {1}); in testReverseIndexed()
[all …]
/external/guava/android/guava-tests/test/com/google/common/primitives/
DBytesTest.java242 public void testReverse() { in testReverse() method in BytesTest
243 testReverse(new byte[] {}, new byte[] {}); in testReverse()
244 testReverse(new byte[] {1}, new byte[] {1}); in testReverse()
245 testReverse(new byte[] {1, 2}, new byte[] {2, 1}); in testReverse()
246 testReverse(new byte[] {3, 1, 1}, new byte[] {1, 1, 3}); in testReverse()
247 testReverse(new byte[] {-1, 1, -2, 2}, new byte[] {2, -2, 1, -1}); in testReverse()
250 private static void testReverse(byte[] input, byte[] expectedOutput) { in testReverse() method in BytesTest
256 private static void testReverse(byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) { in testReverse() method in BytesTest
263 testReverse(new byte[] {}, 0, 0, new byte[] {}); in testReverseIndexed()
264 testReverse(new byte[] {1}, 0, 1, new byte[] {1}); in testReverseIndexed()
[all …]
DBooleansTest.java181 public void testReverse() { in testReverse() method in BooleansTest
182 testReverse(new boolean[] {}, new boolean[] {}); in testReverse()
183 testReverse(new boolean[] {true}, new boolean[] {true}); in testReverse()
184 testReverse(new boolean[] {false, true}, new boolean[] {true, false}); in testReverse()
185 testReverse(new boolean[] {true, false, false}, new boolean[] {false, false, true}); in testReverse()
186 testReverse(new boolean[] {true, true, false, false}, new boolean[] {false, false, true, true}); in testReverse()
189 private static void testReverse(boolean[] input, boolean[] expectedOutput) { in testReverse() method in BooleansTest
195 private static void testReverse( in testReverse() method in BooleansTest
203 testReverse(new boolean[] {}, 0, 0, new boolean[] {}); in testReverseIndexed()
204 testReverse(new boolean[] {true}, 0, 1, new boolean[] {true}); in testReverseIndexed()
[all …]
DCharsTest.java323 public void testReverse() { in testReverse() method in CharsTest
324 testReverse(new char[] {}, new char[] {}); in testReverse()
325 testReverse(new char[] {'1'}, new char[] {'1'}); in testReverse()
326 testReverse(new char[] {'1', '2'}, new char[] {'2', '1'}); in testReverse()
327 testReverse(new char[] {'3', '1', '1'}, new char[] {'1', '1', '3'}); in testReverse()
328 testReverse(new char[] {'A', '1', 'B', '2'}, new char[] {'2', 'B', '1', 'A'}); in testReverse()
331 private static void testReverse(char[] input, char[] expectedOutput) { in testReverse() method in CharsTest
337 private static void testReverse(char[] input, int fromIndex, int toIndex, char[] expectedOutput) { in testReverse() method in CharsTest
344 testReverse(new char[] {}, 0, 0, new char[] {}); in testReverseIndexed()
345 testReverse(new char[] {'1'}, 0, 1, new char[] {'1'}); in testReverseIndexed()
[all …]
DShortsTest.java337 public void testReverse() { in testReverse() method in ShortsTest
338 testReverse(new short[] {}, new short[] {}); in testReverse()
339 testReverse(new short[] {1}, new short[] {1}); in testReverse()
340 testReverse(new short[] {1, 2}, new short[] {2, 1}); in testReverse()
341 testReverse(new short[] {3, 1, 1}, new short[] {1, 1, 3}); in testReverse()
342 testReverse(new short[] {-1, 1, -2, 2}, new short[] {2, -2, 1, -1}); in testReverse()
345 private static void testReverse(short[] input, short[] expectedOutput) { in testReverse() method in ShortsTest
351 private static void testReverse( in testReverse() method in ShortsTest
359 testReverse(new short[] {}, 0, 0, new short[] {}); in testReverseIndexed()
360 testReverse(new short[] {1}, 0, 1, new short[] {1}); in testReverseIndexed()
[all …]
DIntsTest.java309 public void testReverse() { in testReverse() method in IntsTest
310 testReverse(new int[] {}, new int[] {}); in testReverse()
311 testReverse(new int[] {1}, new int[] {1}); in testReverse()
312 testReverse(new int[] {1, 2}, new int[] {2, 1}); in testReverse()
313 testReverse(new int[] {3, 1, 1}, new int[] {1, 1, 3}); in testReverse()
314 testReverse(new int[] {-1, 1, -2, 2}, new int[] {2, -2, 1, -1}); in testReverse()
317 private static void testReverse(int[] input, int[] expectedOutput) { in testReverse() method in IntsTest
323 private static void testReverse(int[] input, int fromIndex, int toIndex, int[] expectedOutput) { in testReverse() method in IntsTest
330 testReverse(new int[] {}, 0, 0, new int[] {}); in testReverseIndexed()
331 testReverse(new int[] {1}, 0, 1, new int[] {1}); in testReverseIndexed()
[all …]
DFloatsTest.java317 public void testReverse() { in testReverse() method in FloatsTest
318 testReverse(new float[] {}, new float[] {}); in testReverse()
319 testReverse(new float[] {1}, new float[] {1}); in testReverse()
320 testReverse(new float[] {1, 2}, new float[] {2, 1}); in testReverse()
321 testReverse(new float[] {3, 1, 1}, new float[] {1, 1, 3}); in testReverse()
322 testReverse(new float[] {-1, 1, -2, 2}, new float[] {2, -2, 1, -1}); in testReverse()
325 private static void testReverse(float[] input, float[] expectedOutput) { in testReverse() method in FloatsTest
331 private static void testReverse( in testReverse() method in FloatsTest
339 testReverse(new float[] {}, 0, 0, new float[] {}); in testReverseIndexed()
340 testReverse(new float[] {1}, 0, 1, new float[] {1}); in testReverseIndexed()
[all …]
DLongsTest.java321 public void testReverse() { in testReverse() method in LongsTest
322 testReverse(new long[] {}, new long[] {}); in testReverse()
323 testReverse(new long[] {1}, new long[] {1}); in testReverse()
324 testReverse(new long[] {1, 2}, new long[] {2, 1}); in testReverse()
325 testReverse(new long[] {3, 1, 1}, new long[] {1, 1, 3}); in testReverse()
326 testReverse(new long[] {-1, 1, -2, 2}, new long[] {2, -2, 1, -1}); in testReverse()
329 private static void testReverse(long[] input, long[] expectedOutput) { in testReverse() method in LongsTest
335 private static void testReverse(long[] input, int fromIndex, int toIndex, long[] expectedOutput) { in testReverse() method in LongsTest
342 testReverse(new long[] {}, 0, 0, new long[] {}); in testReverseIndexed()
343 testReverse(new long[] {1}, 0, 1, new long[] {1}); in testReverseIndexed()
[all …]
DDoublesTest.java335 public void testReverse() { in testReverse() method in DoublesTest
336 testReverse(new double[] {}, new double[] {}); in testReverse()
337 testReverse(new double[] {1}, new double[] {1}); in testReverse()
338 testReverse(new double[] {1, 2}, new double[] {2, 1}); in testReverse()
339 testReverse(new double[] {3, 1, 1}, new double[] {1, 1, 3}); in testReverse()
340 testReverse(new double[] {-1, 1, -2, 2}, new double[] {2, -2, 1, -1}); in testReverse()
343 private static void testReverse(double[] input, double[] expectedOutput) { in testReverse() method in DoublesTest
349 private static void testReverse( in testReverse() method in DoublesTest
357 testReverse(new double[] {}, 0, 0, new double[] {}); in testReverseIndexed()
358 testReverse(new double[] {1}, 0, 1, new double[] {1}); in testReverseIndexed()
[all …]
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_reverse_op_test.py75 def testReverse(self, descr, data, axis, expected, ragged_rank=None): member in RaggedReverseOpTest
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/
DSortIndexTest.java69 public void testReverse() { in testReverse() method in SortIndexTest
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_test.py115 def testReverse(self): member in TestUpgrade
/external/python/pyasn1/tests/type/
Dtest_char.py115 def testReverse(self): member in AbstractStringTestCase
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipUtilTest.java105 public void testReverse() { in testReverse() method in ZipUtilTest
/external/guava/guava-tests/test/com/google/common/base/
DConverterTest.java78 public void testReverse() { in testReverse() method in ConverterTest
/external/guava/android/guava-tests/test/com/google/common/base/
DConverterTest.java78 public void testReverse() { in testReverse() method in ConverterTest
/external/guava/android/guava-tests/test/com/google/common/collect/
DGeneralRangeTest.java209 public void testReverse() {
/external/guava/guava-tests/test/com/google/common/collect/
DGeneralRangeTest.java209 public void testReverse() {

12