mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-29 06:55:49 +00:00
fix: remove negative rate test failing on MacOS (#452)
This commit is contained in:
@@ -2102,9 +2102,10 @@ struct Remit_test : public beast::unit_test::suite
|
||||
std::string result;
|
||||
TER code;
|
||||
};
|
||||
std::array<TestRateData, 10> testCases = {{
|
||||
// We test only rates that that can fit in a STI_UINT32.
|
||||
// Negative rates can't be serdes so there is no need to test them.
|
||||
std::array<TestRateData, 9> testCases = {{
|
||||
{0.0, USD(100), "900", tesSUCCESS},
|
||||
{-1.0, USD(100), "900", temBAD_TRANSFER_RATE},
|
||||
{0.9, USD(100), "900", temBAD_TRANSFER_RATE},
|
||||
{1.0, USD(100), "900", tesSUCCESS},
|
||||
{1.1, USD(100), "890", tesSUCCESS},
|
||||
|
||||
Reference in New Issue
Block a user