@Test
public void testWithin() {

    assertTrue(BTC.value("5").within(BTC.value("1"), BTC.value("10")));
    assertTrue(BTC.value("1").within(BTC.value("1"), BTC.value("10")));
    assertTrue(BTC.value("10").within(BTC.value("1"), BTC.value("10")));
    assertFalse(BTC.value("0.1").within(BTC.value("1"), BTC.value("10")));
    assertFalse(BTC.value("11").within(BTC.value("1"), BTC.value("10")));
}