Test the private member functions of NegativeUNLVote.
More...
Test the private member functions of NegativeUNLVote.
Definition at line 767 of file NegativeUNL_test.cpp.
◆ testAddTx()
| void ripple::test::NegativeUNLVoteInternal_test::testAddTx |
( |
| ) |
|
|
private |
◆ testPickOneCandidate()
| void ripple::test::NegativeUNLVoteInternal_test::testPickOneCandidate |
( |
| ) |
|
|
private |
◆ testBuildScoreTableSpecialCases()
| void ripple::test::NegativeUNLVoteInternal_test::testBuildScoreTableSpecialCases |
( |
| ) |
|
|
private |
◆ checkCandidateSizes()
Find all candidates and check if the number of candidates meets expectation.
- Parameters
-
| vote | the NegativeUNLVote object |
| unl | the validators |
| negUnl | the negative UNL validators |
| scoreTable | the score table of validators |
| numDisable | number of Disable candidates expected |
| numReEnable | number of ReEnable candidates expected |
- Returns
- true if the number of candidates meets expectation
Definition at line 988 of file NegativeUNL_test.cpp.
◆ testFindAllCandidates()
| void ripple::test::NegativeUNLVoteInternal_test::testFindAllCandidates |
( |
| ) |
|
|
private |
◆ testFindAllCandidatesCombination()
| void ripple::test::NegativeUNLVoteInternal_test::testFindAllCandidatesCombination |
( |
| ) |
|
|
private |
◆ testNewValidators()
| void ripple::test::NegativeUNLVoteInternal_test::testNewValidators |
( |
| ) |
|
|
private |
◆ run()
| void ripple::test::NegativeUNLVoteInternal_test::run |
( |
| ) |
|
|
overrideprivate |