Home
last modified time | relevance | path

Searched refs:testRotate (Results 1 – 16 of 16) sorted by relevance

/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java308 private static void testRotate(byte[] input, int distance, byte[] expectedOutput) { in testRotate() method in BytesTest
314 private static void testRotate( in testRotate() method in BytesTest
321 public void testRotate() { in testRotate() method in BytesTest
322 testRotate(new byte[] {}, -1, new byte[] {}); in testRotate()
323 testRotate(new byte[] {}, 0, new byte[] {}); in testRotate()
324 testRotate(new byte[] {}, 1, new byte[] {}); in testRotate()
326 testRotate(new byte[] {1}, -2, new byte[] {1}); in testRotate()
327 testRotate(new byte[] {1}, -1, new byte[] {1}); in testRotate()
328 testRotate(new byte[] {1}, 0, new byte[] {1}); in testRotate()
329 testRotate(new byte[] {1}, 1, new byte[] {1}); in testRotate()
[all …]
DBooleansTest.java247 private static void testRotate(boolean[] input, int distance, boolean[] expectedOutput) { in testRotate() method in BooleansTest
253 private static void testRotate( in testRotate() method in BooleansTest
260 public void testRotate() { in testRotate() method in BooleansTest
261 testRotate(new boolean[] {}, -1, new boolean[] {}); in testRotate()
262 testRotate(new boolean[] {}, 0, new boolean[] {}); in testRotate()
263 testRotate(new boolean[] {}, 1, new boolean[] {}); in testRotate()
265 testRotate(new boolean[] {true}, -2, new boolean[] {true}); in testRotate()
266 testRotate(new boolean[] {true}, -1, new boolean[] {true}); in testRotate()
267 testRotate(new boolean[] {true}, 0, new boolean[] {true}); in testRotate()
268 testRotate(new boolean[] {true}, 1, new boolean[] {true}); in testRotate()
[all …]
DCharsTest.java395 private static void testRotate(char[] input, int distance, char[] expectedOutput) { in testRotate() method in CharsTest
401 private static void testRotate( in testRotate() method in CharsTest
408 public void testRotate() { in testRotate() method in CharsTest
409 testRotate(new char[] {}, -1, new char[] {}); in testRotate()
410 testRotate(new char[] {}, 0, new char[] {}); in testRotate()
411 testRotate(new char[] {}, 1, new char[] {}); in testRotate()
413 testRotate(new char[] {'1'}, -2, new char[] {'1'}); in testRotate()
414 testRotate(new char[] {'1'}, -1, new char[] {'1'}); in testRotate()
415 testRotate(new char[] {'1'}, 0, new char[] {'1'}); in testRotate()
416 testRotate(new char[] {'1'}, 1, new char[] {'1'}); in testRotate()
[all …]
DShortsTest.java403 private static void testRotate(short[] input, int distance, short[] expectedOutput) { in testRotate() method in ShortsTest
409 private static void testRotate( in testRotate() method in ShortsTest
416 public void testRotate() { in testRotate() method in ShortsTest
417 testRotate(new short[] {}, -1, new short[] {}); in testRotate()
418 testRotate(new short[] {}, 0, new short[] {}); in testRotate()
419 testRotate(new short[] {}, 1, new short[] {}); in testRotate()
421 testRotate(new short[] {1}, -2, new short[] {1}); in testRotate()
422 testRotate(new short[] {1}, -1, new short[] {1}); in testRotate()
423 testRotate(new short[] {1}, 0, new short[] {1}); in testRotate()
424 testRotate(new short[] {1}, 1, new short[] {1}); in testRotate()
[all …]
DFloatsTest.java387 private static void testRotate(float[] input, int distance, float[] expectedOutput) { in testRotate() method in FloatsTest
393 private static void testRotate( in testRotate() method in FloatsTest
400 public void testRotate() { in testRotate() method in FloatsTest
401 testRotate(new float[] {}, -1, new float[] {}); in testRotate()
402 testRotate(new float[] {}, 0, new float[] {}); in testRotate()
403 testRotate(new float[] {}, 1, new float[] {}); in testRotate()
405 testRotate(new float[] {1}, -2, new float[] {1}); in testRotate()
406 testRotate(new float[] {1}, -1, new float[] {1}); in testRotate()
407 testRotate(new float[] {1}, 0, new float[] {1}); in testRotate()
408 testRotate(new float[] {1}, 1, new float[] {1}); in testRotate()
[all …]
DIntsTest.java380 private static void testRotate(int[] input, int distance, int[] expectedOutput) { in testRotate() method in IntsTest
386 private static void testRotate( in testRotate() method in IntsTest
393 public void testRotate() { in testRotate() method in IntsTest
394 testRotate(new int[] {}, -1, new int[] {}); in testRotate()
395 testRotate(new int[] {}, 0, new int[] {}); in testRotate()
396 testRotate(new int[] {}, 1, new int[] {}); in testRotate()
398 testRotate(new int[] {1}, -2, new int[] {1}); in testRotate()
399 testRotate(new int[] {1}, -1, new int[] {1}); in testRotate()
400 testRotate(new int[] {1}, 0, new int[] {1}); in testRotate()
401 testRotate(new int[] {1}, 1, new int[] {1}); in testRotate()
[all …]
DLongsTest.java391 private static void testRotate(long[] input, int distance, long[] expectedOutput) { in testRotate() method in LongsTest
397 private static void testRotate( in testRotate() method in LongsTest
404 public void testRotate() { in testRotate() method in LongsTest
405 testRotate(new long[] {}, -1, new long[] {}); in testRotate()
406 testRotate(new long[] {}, 0, new long[] {}); in testRotate()
407 testRotate(new long[] {}, 1, new long[] {}); in testRotate()
409 testRotate(new long[] {1}, -2, new long[] {1}); in testRotate()
410 testRotate(new long[] {1}, -1, new long[] {1}); in testRotate()
411 testRotate(new long[] {1}, 0, new long[] {1}); in testRotate()
412 testRotate(new long[] {1}, 1, new long[] {1}); in testRotate()
[all …]
DDoublesTest.java401 private static void testRotate(double[] input, int distance, double[] expectedOutput) { in testRotate() method in DoublesTest
407 private static void testRotate( in testRotate() method in DoublesTest
414 public void testRotate() { in testRotate() method in DoublesTest
415 testRotate(new double[] {}, -1, new double[] {}); in testRotate()
416 testRotate(new double[] {}, 0, new double[] {}); in testRotate()
417 testRotate(new double[] {}, 1, new double[] {}); in testRotate()
419 testRotate(new double[] {1}, -2, new double[] {1}); in testRotate()
420 testRotate(new double[] {1}, -1, new double[] {1}); in testRotate()
421 testRotate(new double[] {1}, 0, new double[] {1}); in testRotate()
422 testRotate(new double[] {1}, 1, new double[] {1}); in testRotate()
[all …]
/external/guava/android/guava-tests/test/com/google/common/primitives/
DBytesTest.java308 private static void testRotate(byte[] input, int distance, byte[] expectedOutput) { in testRotate() method in BytesTest
314 private static void testRotate( in testRotate() method in BytesTest
321 public void testRotate() { in testRotate() method in BytesTest
322 testRotate(new byte[] {}, -1, new byte[] {}); in testRotate()
323 testRotate(new byte[] {}, 0, new byte[] {}); in testRotate()
324 testRotate(new byte[] {}, 1, new byte[] {}); in testRotate()
326 testRotate(new byte[] {1}, -2, new byte[] {1}); in testRotate()
327 testRotate(new byte[] {1}, -1, new byte[] {1}); in testRotate()
328 testRotate(new byte[] {1}, 0, new byte[] {1}); in testRotate()
329 testRotate(new byte[] {1}, 1, new byte[] {1}); in testRotate()
[all …]
DBooleansTest.java247 private static void testRotate(boolean[] input, int distance, boolean[] expectedOutput) { in testRotate() method in BooleansTest
253 private static void testRotate( in testRotate() method in BooleansTest
260 public void testRotate() { in testRotate() method in BooleansTest
261 testRotate(new boolean[] {}, -1, new boolean[] {}); in testRotate()
262 testRotate(new boolean[] {}, 0, new boolean[] {}); in testRotate()
263 testRotate(new boolean[] {}, 1, new boolean[] {}); in testRotate()
265 testRotate(new boolean[] {true}, -2, new boolean[] {true}); in testRotate()
266 testRotate(new boolean[] {true}, -1, new boolean[] {true}); in testRotate()
267 testRotate(new boolean[] {true}, 0, new boolean[] {true}); in testRotate()
268 testRotate(new boolean[] {true}, 1, new boolean[] {true}); in testRotate()
[all …]
DCharsTest.java395 private static void testRotate(char[] input, int distance, char[] expectedOutput) { in testRotate() method in CharsTest
401 private static void testRotate( in testRotate() method in CharsTest
408 public void testRotate() { in testRotate() method in CharsTest
409 testRotate(new char[] {}, -1, new char[] {}); in testRotate()
410 testRotate(new char[] {}, 0, new char[] {}); in testRotate()
411 testRotate(new char[] {}, 1, new char[] {}); in testRotate()
413 testRotate(new char[] {'1'}, -2, new char[] {'1'}); in testRotate()
414 testRotate(new char[] {'1'}, -1, new char[] {'1'}); in testRotate()
415 testRotate(new char[] {'1'}, 0, new char[] {'1'}); in testRotate()
416 testRotate(new char[] {'1'}, 1, new char[] {'1'}); in testRotate()
[all …]
DShortsTest.java403 private static void testRotate(short[] input, int distance, short[] expectedOutput) { in testRotate() method in ShortsTest
409 private static void testRotate( in testRotate() method in ShortsTest
416 public void testRotate() { in testRotate() method in ShortsTest
417 testRotate(new short[] {}, -1, new short[] {}); in testRotate()
418 testRotate(new short[] {}, 0, new short[] {}); in testRotate()
419 testRotate(new short[] {}, 1, new short[] {}); in testRotate()
421 testRotate(new short[] {1}, -2, new short[] {1}); in testRotate()
422 testRotate(new short[] {1}, -1, new short[] {1}); in testRotate()
423 testRotate(new short[] {1}, 0, new short[] {1}); in testRotate()
424 testRotate(new short[] {1}, 1, new short[] {1}); in testRotate()
[all …]
DIntsTest.java380 private static void testRotate(int[] input, int distance, int[] expectedOutput) { in testRotate() method in IntsTest
386 private static void testRotate( in testRotate() method in IntsTest
393 public void testRotate() { in testRotate() method in IntsTest
394 testRotate(new int[] {}, -1, new int[] {}); in testRotate()
395 testRotate(new int[] {}, 0, new int[] {}); in testRotate()
396 testRotate(new int[] {}, 1, new int[] {}); in testRotate()
398 testRotate(new int[] {1}, -2, new int[] {1}); in testRotate()
399 testRotate(new int[] {1}, -1, new int[] {1}); in testRotate()
400 testRotate(new int[] {1}, 0, new int[] {1}); in testRotate()
401 testRotate(new int[] {1}, 1, new int[] {1}); in testRotate()
[all …]
DFloatsTest.java387 private static void testRotate(float[] input, int distance, float[] expectedOutput) { in testRotate() method in FloatsTest
393 private static void testRotate( in testRotate() method in FloatsTest
400 public void testRotate() { in testRotate() method in FloatsTest
401 testRotate(new float[] {}, -1, new float[] {}); in testRotate()
402 testRotate(new float[] {}, 0, new float[] {}); in testRotate()
403 testRotate(new float[] {}, 1, new float[] {}); in testRotate()
405 testRotate(new float[] {1}, -2, new float[] {1}); in testRotate()
406 testRotate(new float[] {1}, -1, new float[] {1}); in testRotate()
407 testRotate(new float[] {1}, 0, new float[] {1}); in testRotate()
408 testRotate(new float[] {1}, 1, new float[] {1}); in testRotate()
[all …]
DLongsTest.java391 private static void testRotate(long[] input, int distance, long[] expectedOutput) { in testRotate() method in LongsTest
397 private static void testRotate( in testRotate() method in LongsTest
404 public void testRotate() { in testRotate() method in LongsTest
405 testRotate(new long[] {}, -1, new long[] {}); in testRotate()
406 testRotate(new long[] {}, 0, new long[] {}); in testRotate()
407 testRotate(new long[] {}, 1, new long[] {}); in testRotate()
409 testRotate(new long[] {1}, -2, new long[] {1}); in testRotate()
410 testRotate(new long[] {1}, -1, new long[] {1}); in testRotate()
411 testRotate(new long[] {1}, 0, new long[] {1}); in testRotate()
412 testRotate(new long[] {1}, 1, new long[] {1}); in testRotate()
[all …]
DDoublesTest.java401 private static void testRotate(double[] input, int distance, double[] expectedOutput) { in testRotate() method in DoublesTest
407 private static void testRotate( in testRotate() method in DoublesTest
414 public void testRotate() { in testRotate() method in DoublesTest
415 testRotate(new double[] {}, -1, new double[] {}); in testRotate()
416 testRotate(new double[] {}, 0, new double[] {}); in testRotate()
417 testRotate(new double[] {}, 1, new double[] {}); in testRotate()
419 testRotate(new double[] {1}, -2, new double[] {1}); in testRotate()
420 testRotate(new double[] {1}, -1, new double[] {1}); in testRotate()
421 testRotate(new double[] {1}, 0, new double[] {1}); in testRotate()
422 testRotate(new double[] {1}, 1, new double[] {1}); in testRotate()
[all …]