Class TestListTable

java.lang.Object
org.djutils.data.TestListTable

public class TestListTable extends Object
TestListTable tests the functions of the ListTable, the Column and the Record.

Copyright (c) 2020-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, Wouter Schakel
  • Constructor Details

    • TestListTable

      public TestListTable()
  • Method Details

    • testListTable

      @Test public void testListTable()
      Test the ListTable, the Column and the Record.
    • testSubclassListTable

      @Test public void testSubclassListTable()
      Test the ListTable, the Column and the Record.
    • tableCompare

      public static void tableCompare(ListTable table1, ListTable table2)
      Compare the contents of two tables, where primitive content and wrapped primitive content (e.g., a double and a Double) are considered the same if the stored value is the same.
      Parameters:
      table1 - the first table
      table2 - the second table
    • testIllegalColumnTable

      @Test public void testIllegalColumnTable()
      Test column and table construction with wrong arguments.
    • testIllegalRecordTable

      @Test public void testIllegalRecordTable()
      Test column and table construction with wrong value arguments.