Functional test -- binary decisions

Description

Test the way binary decisions are calculated for a gossip event, given prior auxiliary values + round + step.

possible scenarios:

  • If step is ForcedTrue and supermajority of true auxiliary values, should be Some(true)

  • If step is ForcedTrue and supermajority of false auxiliary values, should be None

  • If step is ForcedTrue but < supermajority of true auxiliary values, should be None

  • If step is ForcedFalse and supermajority of false auxiliary values, should be Some(false)

  • If step is ForcedFalse and supermajority of true auxiliary values, should be None

  • If step is ForcedFalse but < supermajority of false auxiliary values, should be None

  • If step is GenuineFlip, should be None (test a few variations with supermajorities or not)

Environment

None

Assignee

Pierre Chevalier

Reporter

Pierre Chevalier

Labels

Start date

2018/08/08

End date

2018/08/09

Task progress

None

Baseline start date

None

Baseline end date

None

Story Points

4

Epic Link

Components

Priority

Major
Configure