Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for testReverse (0.3 sec)

  1. guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testReverse() {
        testReverse(new byte[] {}, new byte[] {});
        testReverse(new byte[] {1}, new byte[] {1});
        testReverse(new byte[] {1, 2}, new byte[] {2, 1});
        testReverse(new byte[] {3, 1, 1}, new byte[] {1, 1, 3});
        testReverse(new byte[] {-1, 1, -2, 2}, new byte[] {2, -2, 1, -1});
      }
    
      private static void testReverse(byte[] input, byte[] expectedOutput) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      public void testReverse() {
        testReverse(new byte[] {}, new byte[] {});
        testReverse(new byte[] {1}, new byte[] {1});
        testReverse(new byte[] {1, 2}, new byte[] {2, 1});
        testReverse(new byte[] {3, 1, 1}, new byte[] {1, 1, 3});
        testReverse(new byte[] {-1, 1, -2, 2}, new byte[] {2, -2, 1, -1});
      }
    
      private static void testReverse(byte[] input, byte[] expectedOutput) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testReverse() {
        testReverse(new char[] {}, new char[] {});
        testReverse(new char[] {'1'}, new char[] {'1'});
        testReverse(new char[] {'1', '2'}, new char[] {'2', '1'});
        testReverse(new char[] {'3', '1', '1'}, new char[] {'1', '1', '3'});
        testReverse(new char[] {'A', '1', 'B', '2'}, new char[] {'2', 'B', '1', 'A'});
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testReverse() {
        testReverse(new double[] {}, new double[] {});
        testReverse(new double[] {1}, new double[] {1});
        testReverse(new double[] {1, 2}, new double[] {2, 1});
        testReverse(new double[] {3, 1, 1}, new double[] {1, 1, 3});
        testReverse(new double[] {-1, 1, -2, 2}, new double[] {2, -2, 1, -1});
      }
    
      private static void testReverse(double[] input, double[] expectedOutput) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      public void testReverse() {
        testReverse(new boolean[] {}, new boolean[] {});
        testReverse(new boolean[] {true}, new boolean[] {true});
        testReverse(new boolean[] {false, true}, new boolean[] {true, false});
        testReverse(new boolean[] {true, false, false}, new boolean[] {false, false, true});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testReverse() {
        testReverse(new float[] {}, new float[] {});
        testReverse(new float[] {1}, new float[] {1});
        testReverse(new float[] {1, 2}, new float[] {2, 1});
        testReverse(new float[] {3, 1, 1}, new float[] {1, 1, 3});
        testReverse(new float[] {-1, 1, -2, 2}, new float[] {2, -2, 1, -1});
      }
    
      private static void testReverse(float[] input, float[] expectedOutput) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testReverse() {
        testReverse(new int[] {}, new int[] {});
        testReverse(new int[] {1}, new int[] {1});
        testReverse(new int[] {1, 2}, new int[] {2, 1});
        testReverse(new int[] {3, 1, 1}, new int[] {1, 1, 3});
        testReverse(new int[] {-1, 1, -2, 2}, new int[] {2, -2, 1, -1});
      }
    
      private static void testReverse(int[] input, int[] expectedOutput) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testReverse() {
        testReverse(new double[] {}, new double[] {});
        testReverse(new double[] {1}, new double[] {1});
        testReverse(new double[] {1, 2}, new double[] {2, 1});
        testReverse(new double[] {3, 1, 1}, new double[] {1, 1, 3});
        testReverse(new double[] {-1, 1, -2, 2}, new double[] {2, -2, 1, -1});
      }
    
      private static void testReverse(double[] input, double[] expectedOutput) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testReverse() {
        testReverse(new float[] {}, new float[] {});
        testReverse(new float[] {1}, new float[] {1});
        testReverse(new float[] {1, 2}, new float[] {2, 1});
        testReverse(new float[] {3, 1, 1}, new float[] {1, 1, 3});
        testReverse(new float[] {-1, 1, -2, 2}, new float[] {2, -2, 1, -1});
      }
    
      private static void testReverse(float[] input, float[] expectedOutput) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testReverse() {
        testReverse(new long[] {}, new long[] {});
        testReverse(new long[] {1}, new long[] {1});
        testReverse(new long[] {1, 2}, new long[] {2, 1});
        testReverse(new long[] {3, 1, 1}, new long[] {1, 1, 3});
        testReverse(new long[] {-1, 1, -2, 2}, new long[] {2, -2, 1, -1});
      }
    
      private static void testReverse(long[] input, long[] expectedOutput) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top