    @Test
    public void testToSha() {

        assertThat(Convert.toSha("21", Convert.Unit.SHA), is(new BigDecimal("21")));
        assertThat(Convert.toSha("21", Convert.Unit.KSHA), is(new BigDecimal("21000")));
        assertThat(Convert.toSha("21", Convert.Unit.MSHA), is(new BigDecimal("21000000")));
        assertThat(Convert.toSha("21", Convert.Unit.GSHA), is(new BigDecimal("21000000000")));
        assertThat(Convert.toSha("21", Convert.Unit.SAND), is(new BigDecimal("21000000000000")));
        assertThat(Convert.toSha("21", Convert.Unit.MILLI),
                is(new BigDecimal("21000000000000000")));
        assertThat(Convert.toSha("21", Convert.Unit.MC),
                is(new BigDecimal("21000000000000000000")));
        assertThat(Convert.toSha("21", Convert.Unit.KMC),
                is(new BigDecimal("21000000000000000000000")));
        assertThat(Convert.toSha("21", Convert.Unit.MMC),
                is(new BigDecimal("21000000000000000000000000")));
        assertThat(Convert.toSha("21", Convert.Unit.GMC),
                is(new BigDecimal("21000000000000000000000000000")));
    }