mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2025-10-16 11:45:37 +00:00
fixed typo
This commit is contained in:
parent
606dc34c4b
commit
23ca1354e9
@ -8,7 +8,7 @@ public enum IotaUnits {
|
||||
KILO_IOTA("Ki", 3),
|
||||
MEGA_IOTA("Mi", 6),
|
||||
GIGA_IOTA("Gi", 9),
|
||||
TERRA_IOTA("Ti", 12),
|
||||
TERA_IOTA("Ti", 12),
|
||||
PETA_IOTA("Pi", 15);
|
||||
|
||||
private String unit;
|
||||
|
||||
@ -29,11 +29,11 @@ public class IotaUnitConverterTest {
|
||||
|
||||
@Test
|
||||
public void shouldConvertUnitGiToTi() {
|
||||
assertThat(IotaUnitConverter.convertUnits(1000, IotaUnits.GIGA_IOTA, IotaUnits.TERRA_IOTA), IsNull.notNullValue());
|
||||
assertThat(IotaUnitConverter.convertUnits(1000, IotaUnits.GIGA_IOTA, IotaUnits.TERA_IOTA), IsNull.notNullValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldConvertUnitTiToPi() {
|
||||
assertThat(IotaUnitConverter.convertUnits(1000, IotaUnits.TERRA_IOTA, IotaUnits.PETA_IOTA), IsNull.notNullValue());
|
||||
assertThat(IotaUnitConverter.convertUnits(1000, IotaUnits.TERA_IOTA, IotaUnits.PETA_IOTA), IsNull.notNullValue());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user