Nit: could we also check the amount returned by GetFeePerK() after the addition against the expected amount of 1000?
BOOST_CHECK_EQUAL(empty_rate.GetFeePerK(), CAmount{1000});
I tried adding this locally and temporarily commenting out empty_rate += CFeeRate(1, 1), leaving the object empty. The existing equality assertion still passed, while this additional check failed with [0 != 1000].
This happens because the comparison uses cross multiplication: {0, 0} and {1, 1} produce 0 × 1 == 1 × 0.
With the addition present, both assertions pass. I thought the extra check could help verify the expected result more explicitly and catch a case where the object incorrectly remains empty.