Class TestImmutableList

java.lang.Object
org.djutils.immutablecollections.TestImmutableList

public class TestImmutableList extends Object
Test immutable list.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.

Author:
Alexander Verbraeck, Peter Knoppers
  • Field Details

    • sum

      int sum
      Accumulator for forEach test.
  • Constructor Details

    • TestImmutableList

      public TestImmutableList()
  • Method Details

    • testImmutableList

      @Test public void testImmutableList()
      Test the immutable list class.
    • testImmutableHashSet

      @Test public void testImmutableHashSet()
      Test the ImmutableHashMap class.
    • testOf

      @Test public void testOf()
      test the of() methods.