mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor FeatureBitset:
* Remove composite helper functions * Add set difference and Bitset/uint256 operators * Convert tests to use new feature bitset set difference operator
This commit is contained in:
@@ -218,13 +218,11 @@ public:
|
||||
testDefaultRipple(features);
|
||||
};
|
||||
using namespace jtx;
|
||||
withFeatsTests(
|
||||
supported_features_except (featureFlow, fix1373, featureFlowCross));
|
||||
withFeatsTests(
|
||||
supported_features_except ( fix1373, featureFlowCross));
|
||||
withFeatsTests(
|
||||
supported_features_except ( featureFlowCross));
|
||||
withFeatsTests(supported_amendments());
|
||||
auto const sa = supported_amendments();
|
||||
withFeatsTests(sa - featureFlow - fix1373 - featureFlowCross);
|
||||
withFeatsTests(sa - fix1373 - featureFlowCross);
|
||||
withFeatsTests(sa - featureFlowCross);
|
||||
withFeatsTests(sa);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user