test_simpleStorageUnit

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

Tests:

  1. Whether the partitionedStorageUnit can add data 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_simpleStorageUnit.test_storage_limits(baudRate_1, baudRate_2, storageCapacity, expectedStorage)[source]

Tests:

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

    functionality);

  2. That the simpleStorageUnit correctly evaluates how much stored data it should

    have given a pair of input messages.