test_partitionedStorageUnit

test_partitionedStorageUnit.test_set_data_buffer(baudRate_1, baudRate_2, partitionName, add_data, storageCapacity, expectedStorage)[source]

Tests:

  1. Whether the partitionedStorageUnit properly adds data in different partitions

    using the setDataBuffer method;

  2. That the partitionedStorageUnit correctly evaluates how much stored data it

    should have given a pair of input messages and using setDataBuffer.

Returns

test_partitionedStorageUnit.test_set_data_buffer_partition(baudRate_1, baudRate_2, partitionName, add_data, storageCapacity)[source]

Tests:

  1. Whether the partitionedStorageUnit manages the data in already existing

    and new partitions correctly;

Returns

test_partitionedStorageUnit.test_storage_limits(baudRate_1, baudRate_2, storageCapacity, expectedStorage)[source]

Tests:

  1. Whether the partitionedStorageUnit can add multiple nodes (core base class

    functionality);

  2. That the partitionedStorageUnit correctly evaluates how much stored data it

    should have given a pair of baud input messages.

Returns