fix failing test

This commit is contained in:
Denis Angell
2025-02-07 11:01:20 +01:00
parent 9faef17407
commit 6858861660

View File

@@ -2104,7 +2104,7 @@ struct Remit_test : public beast::unit_test::suite
};
std::array<TestRateData, 10> testCases = {{
{0.0, USD(100), "900", tesSUCCESS},
{-1.0, USD(100), "900", tesSUCCESS}, // -1 is converted to 0
{-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},