mit-dci / opencbdc-tx

A transaction processor for a hypothetical, general-purpose, central bank digital currency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add unit test to cover error and some non-error cases of cbdc::raft::node

ykaravas opened this issue · comments

This issue references a task in #3, Test Coverage / Quality Umbrella; specifically, related to the fifth issue down the list which reads:

"Improve test for cbdc::raft::node to cover all error (and ideally non-error) cases"

The cbdc::raft::node does not cover error cases (and ideally some non-error cases)

To resolve this issue, a unit tests will be added to raft_test.cpp to cover error cases possible in cdbdc::raft::node as well as, possibly, some more non-error cases.