test_simpleStorageUnit
- test_simpleStorageUnit.test_set_data_buffer(baudRate_1, baudRate_2, add_data, storageCapacity, expectedStorage)[source]
Tests:
Whether the partitionedStorageUnit can add data using the setDataBuffer method;
- 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:
- Whether the simpleStorageUnit can add multiple nodes (core base class
functionality);
- That the simpleStorageUnit correctly evaluates how much stored data it should
have given a pair of input messages.