1+ .
2+ └── ECDSATableCalculatorBase (**** denotes that integration tests are needed to fully validate path)
3+ ├── when calculateOperatorTable is called
4+ │ ├── given that no operators are in the set
5+ │ │ └── it should return empty operator info array
6+ │ ├── given that operators exist but none have registered keys
7+ │ │ └── it should return empty operator info array
8+ │ ├── given that all operators have registered keys
9+ │ │ └── it should return operator infos with correct pubkeys and weights
10+ │ ├── given that operators have multiple weight types
11+ │ │ └── it should return operator infos with all weight types correctly
12+ │ ├── given that some operators have registered keys and some have not
13+ │ │ └── it should only include registered operators in the result
14+ │ └── given that a single operator is registered
15+ │ └── it should return single operator info with correct data
16+ ├── when calculateOperatorTableBytes is called
17+ │ ├── given valid operator set with registered operators
18+ │ │ └── it should encode operator infos correctly as bytes
19+ │ └── given various weight values (fuzz test)
20+ │ └── it should encode and decode weights correctly
21+ ├── when getOperatorWeights is called
22+ │ ├── given operators and weights are set
23+ │ │ └── it should return the implementation result correctly
24+ │ └── given various numbers of operators (fuzz test)
25+ │ └── it should return correct operator and weight arrays
26+ └── when getOperatorWeight is called
27+ ├── given that the operator exists in the set
28+ │ └── it should return the correct weight
29+ ├── given that the operator does not exist in the set
30+ │ └── it should return 0
31+ ├── given that the operator set is empty
32+ │ └── it should return 0
33+ └── given various operator and weight combinations (fuzz test)
34+ └── it should return correct weight or 0
0 commit comments