public static String convertNumberToHangul(String number) {
String[] han1 = { "", "일", "이", "삼", "사", "오", "육", "칠", "팔", "구" };
String[] han2 = { "", "십", "백", "천" };
String[] han3 = { "", "만", "억", "조", "경" };
String result = "";
int len = number.length();
int nowInt = 0;
boolean hasHan3 = false;
for (int i = len; i > 0; i--) {
nowInt = Integer.parseInt(number.substring(len - i, len - i + 1));
int han2Pick = (i - 1) % 4;
if (nowInt > 0) {
result += (han1[nowInt]) + (han2[han2Pick]);
if (han2Pick > 0) {
hasHan3 = false;
}
}
if (!hasHan3 && han2Pick == 0) {
result += (han3[(i - 1) / 4]);
hasHan3 = true;
}
}
return result.toString();
}
|
조 단위까지는 엑셀의 한글 변환 기능과 비교해서 어느 정도 정확도가 보장됩니다.
(구글링해서 돌아다니는 소스들 중에 문제가 있는게 대부분이더라구요 ㅜㅜ)
테스트 코드
public class FormatUtilTest {
public static void assertTrue(String errMsg, boolean b) {
if (b == false) {
throw new RuntimeException(errMsg);
}
}
public static void main(String[] args) {
assertTrue(FormatUtil.convertNumberToHangul("1"), FormatUtil.convertNumberToHangul("1").equals("일"));
assertTrue(FormatUtil.convertNumberToHangul("11"), FormatUtil.convertNumberToHangul("11").equals("일십일"));
assertTrue(FormatUtil.convertNumberToHangul("111"), FormatUtil.convertNumberToHangul("111").equals("일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("1111"), FormatUtil.convertNumberToHangul("1111").equals("일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("11111"), FormatUtil.convertNumberToHangul("11111").equals("일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("111111"), FormatUtil.convertNumberToHangul("111111").equals("일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("1111111"), FormatUtil.convertNumberToHangul("1111111").equals("일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("11111111"), FormatUtil.convertNumberToHangul("11111111").equals("일천일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("111111111"), FormatUtil.convertNumberToHangul("111111111").equals("일억일천일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("1111111111"), FormatUtil.convertNumberToHangul("1111111111").equals("일십일억일천일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("11111111111"), FormatUtil.convertNumberToHangul("11111111111").equals("일백일십일억일천일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("111111111111"), FormatUtil.convertNumberToHangul("111111111111").equals("일천일백일십일억일천일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("1111111111111"), FormatUtil.convertNumberToHangul("1111111111111").equals("일조일천일백일십일억일천일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("11111111111111"), FormatUtil.convertNumberToHangul("11111111111111").equals("일십일조일천일백일십일억일천일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("111111111111111"), FormatUtil.convertNumberToHangul("111111111111111").equals("일백일십일조일천일백일십일억일천일백일십일만일천일백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("2"), FormatUtil.convertNumberToHangul("2").equals("이"));
assertTrue(FormatUtil.convertNumberToHangul("22"), FormatUtil.convertNumberToHangul("22").equals("이십이"));
assertTrue(FormatUtil.convertNumberToHangul("222"), FormatUtil.convertNumberToHangul("222").equals("이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("2222"), FormatUtil.convertNumberToHangul("2222").equals("이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("22222"), FormatUtil.convertNumberToHangul("22222").equals("이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("222222"), FormatUtil.convertNumberToHangul("222222").equals("이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("2222222"), FormatUtil.convertNumberToHangul("2222222").equals("이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("22222222"), FormatUtil.convertNumberToHangul("22222222").equals("이천이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("222222222"), FormatUtil.convertNumberToHangul("222222222").equals("이억이천이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("2222222222"), FormatUtil.convertNumberToHangul("2222222222").equals("이십이억이천이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("22222222222"), FormatUtil.convertNumberToHangul("22222222222").equals("이백이십이억이천이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("222222222222"), FormatUtil.convertNumberToHangul("222222222222").equals("이천이백이십이억이천이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("2222222222222"), FormatUtil.convertNumberToHangul("2222222222222").equals("이조이천이백이십이억이천이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("22222222222222"), FormatUtil.convertNumberToHangul("22222222222222").equals("이십이조이천이백이십이억이천이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("222222222222222"), FormatUtil.convertNumberToHangul("222222222222222").equals("이백이십이조이천이백이십이억이천이백이십이만이천이백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("3"), FormatUtil.convertNumberToHangul("3").equals("삼"));
assertTrue(FormatUtil.convertNumberToHangul("33"), FormatUtil.convertNumberToHangul("33").equals("삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("333"), FormatUtil.convertNumberToHangul("333").equals("삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("3333"), FormatUtil.convertNumberToHangul("3333").equals("삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("33333"), FormatUtil.convertNumberToHangul("33333").equals("삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("333333"), FormatUtil.convertNumberToHangul("333333").equals("삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("3333333"), FormatUtil.convertNumberToHangul("3333333").equals("삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("33333333"), FormatUtil.convertNumberToHangul("33333333").equals("삼천삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("333333333"), FormatUtil.convertNumberToHangul("333333333").equals("삼억삼천삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("3333333333"), FormatUtil.convertNumberToHangul("3333333333").equals("삼십삼억삼천삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("33333333333"), FormatUtil.convertNumberToHangul("33333333333").equals("삼백삼십삼억삼천삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("333333333333"), FormatUtil.convertNumberToHangul("333333333333").equals("삼천삼백삼십삼억삼천삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("3333333333333"), FormatUtil.convertNumberToHangul("3333333333333").equals("삼조삼천삼백삼십삼억삼천삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("33333333333333"), FormatUtil.convertNumberToHangul("33333333333333").equals("삼십삼조삼천삼백삼십삼억삼천삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("333333333333333"), FormatUtil.convertNumberToHangul("333333333333333").equals("삼백삼십삼조삼천삼백삼십삼억삼천삼백삼십삼만삼천삼백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("4"), FormatUtil.convertNumberToHangul("4").equals("사"));
assertTrue(FormatUtil.convertNumberToHangul("44"), FormatUtil.convertNumberToHangul("44").equals("사십사"));
assertTrue(FormatUtil.convertNumberToHangul("444"), FormatUtil.convertNumberToHangul("444").equals("사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("4444"), FormatUtil.convertNumberToHangul("4444").equals("사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("44444"), FormatUtil.convertNumberToHangul("44444").equals("사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("444444"), FormatUtil.convertNumberToHangul("444444").equals("사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("4444444"), FormatUtil.convertNumberToHangul("4444444").equals("사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("44444444"), FormatUtil.convertNumberToHangul("44444444").equals("사천사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("444444444"), FormatUtil.convertNumberToHangul("444444444").equals("사억사천사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("4444444444"), FormatUtil.convertNumberToHangul("4444444444").equals("사십사억사천사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("44444444444"), FormatUtil.convertNumberToHangul("44444444444").equals("사백사십사억사천사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("444444444444"), FormatUtil.convertNumberToHangul("444444444444").equals("사천사백사십사억사천사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("4444444444444"), FormatUtil.convertNumberToHangul("4444444444444").equals("사조사천사백사십사억사천사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("44444444444444"), FormatUtil.convertNumberToHangul("44444444444444").equals("사십사조사천사백사십사억사천사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("444444444444444"), FormatUtil.convertNumberToHangul("444444444444444").equals("사백사십사조사천사백사십사억사천사백사십사만사천사백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("5"), FormatUtil.convertNumberToHangul("5").equals("오"));
assertTrue(FormatUtil.convertNumberToHangul("55"), FormatUtil.convertNumberToHangul("55").equals("오십오"));
assertTrue(FormatUtil.convertNumberToHangul("555"), FormatUtil.convertNumberToHangul("555").equals("오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("5555"), FormatUtil.convertNumberToHangul("5555").equals("오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("55555"), FormatUtil.convertNumberToHangul("55555").equals("오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("555555"), FormatUtil.convertNumberToHangul("555555").equals("오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("5555555"), FormatUtil.convertNumberToHangul("5555555").equals("오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("55555555"), FormatUtil.convertNumberToHangul("55555555").equals("오천오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("555555555"), FormatUtil.convertNumberToHangul("555555555").equals("오억오천오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("5555555555"), FormatUtil.convertNumberToHangul("5555555555").equals("오십오억오천오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("55555555555"), FormatUtil.convertNumberToHangul("55555555555").equals("오백오십오억오천오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("555555555555"), FormatUtil.convertNumberToHangul("555555555555").equals("오천오백오십오억오천오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("5555555555555"), FormatUtil.convertNumberToHangul("5555555555555").equals("오조오천오백오십오억오천오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("55555555555555"), FormatUtil.convertNumberToHangul("55555555555555").equals("오십오조오천오백오십오억오천오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("555555555555555"), FormatUtil.convertNumberToHangul("555555555555555").equals("오백오십오조오천오백오십오억오천오백오십오만오천오백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("6"), FormatUtil.convertNumberToHangul("6").equals("육"));
assertTrue(FormatUtil.convertNumberToHangul("66"), FormatUtil.convertNumberToHangul("66").equals("육십육"));
assertTrue(FormatUtil.convertNumberToHangul("666"), FormatUtil.convertNumberToHangul("666").equals("육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("6666"), FormatUtil.convertNumberToHangul("6666").equals("육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("66666"), FormatUtil.convertNumberToHangul("66666").equals("육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("666666"), FormatUtil.convertNumberToHangul("666666").equals("육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("6666666"), FormatUtil.convertNumberToHangul("6666666").equals("육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("66666666"), FormatUtil.convertNumberToHangul("66666666").equals("육천육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("666666666"), FormatUtil.convertNumberToHangul("666666666").equals("육억육천육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("6666666666"), FormatUtil.convertNumberToHangul("6666666666").equals("육십육억육천육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("66666666666"), FormatUtil.convertNumberToHangul("66666666666").equals("육백육십육억육천육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("666666666666"), FormatUtil.convertNumberToHangul("666666666666").equals("육천육백육십육억육천육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("6666666666666"), FormatUtil.convertNumberToHangul("6666666666666").equals("육조육천육백육십육억육천육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("66666666666666"), FormatUtil.convertNumberToHangul("66666666666666").equals("육십육조육천육백육십육억육천육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("666666666666666"), FormatUtil.convertNumberToHangul("666666666666666").equals("육백육십육조육천육백육십육억육천육백육십육만육천육백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("7"), FormatUtil.convertNumberToHangul("7").equals("칠"));
assertTrue(FormatUtil.convertNumberToHangul("77"), FormatUtil.convertNumberToHangul("77").equals("칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("777"), FormatUtil.convertNumberToHangul("777").equals("칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("7777"), FormatUtil.convertNumberToHangul("7777").equals("칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("77777"), FormatUtil.convertNumberToHangul("77777").equals("칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("777777"), FormatUtil.convertNumberToHangul("777777").equals("칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("7777777"), FormatUtil.convertNumberToHangul("7777777").equals("칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("77777777"), FormatUtil.convertNumberToHangul("77777777").equals("칠천칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("777777777"), FormatUtil.convertNumberToHangul("777777777").equals("칠억칠천칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("7777777777"), FormatUtil.convertNumberToHangul("7777777777").equals("칠십칠억칠천칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("77777777777"), FormatUtil.convertNumberToHangul("77777777777").equals("칠백칠십칠억칠천칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("777777777777"), FormatUtil.convertNumberToHangul("777777777777").equals("칠천칠백칠십칠억칠천칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("7777777777777"), FormatUtil.convertNumberToHangul("7777777777777").equals("칠조칠천칠백칠십칠억칠천칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("77777777777777"), FormatUtil.convertNumberToHangul("77777777777777").equals("칠십칠조칠천칠백칠십칠억칠천칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("777777777777777"), FormatUtil.convertNumberToHangul("777777777777777").equals("칠백칠십칠조칠천칠백칠십칠억칠천칠백칠십칠만칠천칠백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("8"), FormatUtil.convertNumberToHangul("8").equals("팔"));
assertTrue(FormatUtil.convertNumberToHangul("88"), FormatUtil.convertNumberToHangul("88").equals("팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("888"), FormatUtil.convertNumberToHangul("888").equals("팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("8888"), FormatUtil.convertNumberToHangul("8888").equals("팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("88888"), FormatUtil.convertNumberToHangul("88888").equals("팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("888888"), FormatUtil.convertNumberToHangul("888888").equals("팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("8888888"), FormatUtil.convertNumberToHangul("8888888").equals("팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("88888888"), FormatUtil.convertNumberToHangul("88888888").equals("팔천팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("888888888"), FormatUtil.convertNumberToHangul("888888888").equals("팔억팔천팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("8888888888"), FormatUtil.convertNumberToHangul("8888888888").equals("팔십팔억팔천팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("88888888888"), FormatUtil.convertNumberToHangul("88888888888").equals("팔백팔십팔억팔천팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("888888888888"), FormatUtil.convertNumberToHangul("888888888888").equals("팔천팔백팔십팔억팔천팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("8888888888888"), FormatUtil.convertNumberToHangul("8888888888888").equals("팔조팔천팔백팔십팔억팔천팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("88888888888888"), FormatUtil.convertNumberToHangul("88888888888888").equals("팔십팔조팔천팔백팔십팔억팔천팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("888888888888888"), FormatUtil.convertNumberToHangul("888888888888888").equals("팔백팔십팔조팔천팔백팔십팔억팔천팔백팔십팔만팔천팔백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("9"), FormatUtil.convertNumberToHangul("9").equals("구"));
assertTrue(FormatUtil.convertNumberToHangul("99"), FormatUtil.convertNumberToHangul("99").equals("구십구"));
assertTrue(FormatUtil.convertNumberToHangul("999"), FormatUtil.convertNumberToHangul("999").equals("구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("9999"), FormatUtil.convertNumberToHangul("9999").equals("구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("99999"), FormatUtil.convertNumberToHangul("99999").equals("구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("999999"), FormatUtil.convertNumberToHangul("999999").equals("구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("9999999"), FormatUtil.convertNumberToHangul("9999999").equals("구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("99999999"), FormatUtil.convertNumberToHangul("99999999").equals("구천구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("999999999"), FormatUtil.convertNumberToHangul("999999999").equals("구억구천구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("9999999999"), FormatUtil.convertNumberToHangul("9999999999").equals("구십구억구천구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("99999999999"), FormatUtil.convertNumberToHangul("99999999999").equals("구백구십구억구천구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("999999999999"), FormatUtil.convertNumberToHangul("999999999999").equals("구천구백구십구억구천구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("9999999999999"), FormatUtil.convertNumberToHangul("9999999999999").equals("구조구천구백구십구억구천구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("99999999999999"), FormatUtil.convertNumberToHangul("99999999999999").equals("구십구조구천구백구십구억구천구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("999999999999999"), FormatUtil.convertNumberToHangul("999999999999999").equals("구백구십구조구천구백구십구억구천구백구십구만구천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("10"), FormatUtil.convertNumberToHangul("10").equals("일십"));
assertTrue(FormatUtil.convertNumberToHangul("100"), FormatUtil.convertNumberToHangul("100").equals("일백"));
assertTrue(FormatUtil.convertNumberToHangul("1000"), FormatUtil.convertNumberToHangul("1000").equals("일천"));
assertTrue(FormatUtil.convertNumberToHangul("10000"), FormatUtil.convertNumberToHangul("10000").equals("일만"));
assertTrue(FormatUtil.convertNumberToHangul("100000"), FormatUtil.convertNumberToHangul("100000").equals("일십만"));
assertTrue(FormatUtil.convertNumberToHangul("1000000"), FormatUtil.convertNumberToHangul("1000000").equals("일백만"));
assertTrue(FormatUtil.convertNumberToHangul("10000000"), FormatUtil.convertNumberToHangul("10000000").equals("일천만"));
assertTrue(FormatUtil.convertNumberToHangul("100000000"), FormatUtil.convertNumberToHangul("100000000").equals("일억"));
assertTrue(FormatUtil.convertNumberToHangul("1000000000"), FormatUtil.convertNumberToHangul("1000000000").equals("일십억"));
assertTrue(FormatUtil.convertNumberToHangul("10000000000"), FormatUtil.convertNumberToHangul("10000000000").equals("일백억"));
assertTrue(FormatUtil.convertNumberToHangul("100000000000"), FormatUtil.convertNumberToHangul("100000000000").equals("일천억"));
assertTrue(FormatUtil.convertNumberToHangul("1000000000000"), FormatUtil.convertNumberToHangul("1000000000000").equals("일조"));
assertTrue(FormatUtil.convertNumberToHangul("10000000000000"), FormatUtil.convertNumberToHangul("10000000000000").equals("일십조"));
assertTrue(FormatUtil.convertNumberToHangul("100000000000000"), FormatUtil.convertNumberToHangul("100000000000000").equals("일백조"));
assertTrue(FormatUtil.convertNumberToHangul("1000000000000000"), FormatUtil.convertNumberToHangul("1000000000000000").equals("일천조"));
assertTrue(FormatUtil.convertNumberToHangul("20"), FormatUtil.convertNumberToHangul("20").equals("이십"));
assertTrue(FormatUtil.convertNumberToHangul("200"), FormatUtil.convertNumberToHangul("200").equals("이백"));
assertTrue(FormatUtil.convertNumberToHangul("2000"), FormatUtil.convertNumberToHangul("2000").equals("이천"));
assertTrue(FormatUtil.convertNumberToHangul("20000"), FormatUtil.convertNumberToHangul("20000").equals("이만"));
assertTrue(FormatUtil.convertNumberToHangul("200000"), FormatUtil.convertNumberToHangul("200000").equals("이십만"));
assertTrue(FormatUtil.convertNumberToHangul("2000000"), FormatUtil.convertNumberToHangul("2000000").equals("이백만"));
assertTrue(FormatUtil.convertNumberToHangul("20000000"), FormatUtil.convertNumberToHangul("20000000").equals("이천만"));
assertTrue(FormatUtil.convertNumberToHangul("200000000"), FormatUtil.convertNumberToHangul("200000000").equals("이억"));
assertTrue(FormatUtil.convertNumberToHangul("2000000000"), FormatUtil.convertNumberToHangul("2000000000").equals("이십억"));
assertTrue(FormatUtil.convertNumberToHangul("20000000000"), FormatUtil.convertNumberToHangul("20000000000").equals("이백억"));
assertTrue(FormatUtil.convertNumberToHangul("200000000000"), FormatUtil.convertNumberToHangul("200000000000").equals("이천억"));
assertTrue(FormatUtil.convertNumberToHangul("2000000000000"), FormatUtil.convertNumberToHangul("2000000000000").equals("이조"));
assertTrue(FormatUtil.convertNumberToHangul("20000000000000"), FormatUtil.convertNumberToHangul("20000000000000").equals("이십조"));
assertTrue(FormatUtil.convertNumberToHangul("200000000000000"), FormatUtil.convertNumberToHangul("200000000000000").equals("이백조"));
assertTrue(FormatUtil.convertNumberToHangul("2000000000000000"), FormatUtil.convertNumberToHangul("2000000000000000").equals("이천조"));
assertTrue(FormatUtil.convertNumberToHangul("30"), FormatUtil.convertNumberToHangul("30").equals("삼십"));
assertTrue(FormatUtil.convertNumberToHangul("300"), FormatUtil.convertNumberToHangul("300").equals("삼백"));
assertTrue(FormatUtil.convertNumberToHangul("3000"), FormatUtil.convertNumberToHangul("3000").equals("삼천"));
assertTrue(FormatUtil.convertNumberToHangul("30000"), FormatUtil.convertNumberToHangul("30000").equals("삼만"));
assertTrue(FormatUtil.convertNumberToHangul("300000"), FormatUtil.convertNumberToHangul("300000").equals("삼십만"));
assertTrue(FormatUtil.convertNumberToHangul("3000000"), FormatUtil.convertNumberToHangul("3000000").equals("삼백만"));
assertTrue(FormatUtil.convertNumberToHangul("30000000"), FormatUtil.convertNumberToHangul("30000000").equals("삼천만"));
assertTrue(FormatUtil.convertNumberToHangul("300000000"), FormatUtil.convertNumberToHangul("300000000").equals("삼억"));
assertTrue(FormatUtil.convertNumberToHangul("3000000000"), FormatUtil.convertNumberToHangul("3000000000").equals("삼십억"));
assertTrue(FormatUtil.convertNumberToHangul("30000000000"), FormatUtil.convertNumberToHangul("30000000000").equals("삼백억"));
assertTrue(FormatUtil.convertNumberToHangul("300000000000"), FormatUtil.convertNumberToHangul("300000000000").equals("삼천억"));
assertTrue(FormatUtil.convertNumberToHangul("3000000000000"), FormatUtil.convertNumberToHangul("3000000000000").equals("삼조"));
assertTrue(FormatUtil.convertNumberToHangul("30000000000000"), FormatUtil.convertNumberToHangul("30000000000000").equals("삼십조"));
assertTrue(FormatUtil.convertNumberToHangul("300000000000000"), FormatUtil.convertNumberToHangul("300000000000000").equals("삼백조"));
assertTrue(FormatUtil.convertNumberToHangul("3000000000000000"), FormatUtil.convertNumberToHangul("3000000000000000").equals("삼천조"));
assertTrue(FormatUtil.convertNumberToHangul("40"), FormatUtil.convertNumberToHangul("40").equals("사십"));
assertTrue(FormatUtil.convertNumberToHangul("400"), FormatUtil.convertNumberToHangul("400").equals("사백"));
assertTrue(FormatUtil.convertNumberToHangul("4000"), FormatUtil.convertNumberToHangul("4000").equals("사천"));
assertTrue(FormatUtil.convertNumberToHangul("40000"), FormatUtil.convertNumberToHangul("40000").equals("사만"));
assertTrue(FormatUtil.convertNumberToHangul("400000"), FormatUtil.convertNumberToHangul("400000").equals("사십만"));
assertTrue(FormatUtil.convertNumberToHangul("4000000"), FormatUtil.convertNumberToHangul("4000000").equals("사백만"));
assertTrue(FormatUtil.convertNumberToHangul("40000000"), FormatUtil.convertNumberToHangul("40000000").equals("사천만"));
assertTrue(FormatUtil.convertNumberToHangul("400000000"), FormatUtil.convertNumberToHangul("400000000").equals("사억"));
assertTrue(FormatUtil.convertNumberToHangul("4000000000"), FormatUtil.convertNumberToHangul("4000000000").equals("사십억"));
assertTrue(FormatUtil.convertNumberToHangul("40000000000"), FormatUtil.convertNumberToHangul("40000000000").equals("사백억"));
assertTrue(FormatUtil.convertNumberToHangul("400000000000"), FormatUtil.convertNumberToHangul("400000000000").equals("사천억"));
assertTrue(FormatUtil.convertNumberToHangul("4000000000000"), FormatUtil.convertNumberToHangul("4000000000000").equals("사조"));
assertTrue(FormatUtil.convertNumberToHangul("40000000000000"), FormatUtil.convertNumberToHangul("40000000000000").equals("사십조"));
assertTrue(FormatUtil.convertNumberToHangul("400000000000000"), FormatUtil.convertNumberToHangul("400000000000000").equals("사백조"));
assertTrue(FormatUtil.convertNumberToHangul("4000000000000000"), FormatUtil.convertNumberToHangul("4000000000000000").equals("사천조"));
assertTrue(FormatUtil.convertNumberToHangul("50"), FormatUtil.convertNumberToHangul("50").equals("오십"));
assertTrue(FormatUtil.convertNumberToHangul("500"), FormatUtil.convertNumberToHangul("500").equals("오백"));
assertTrue(FormatUtil.convertNumberToHangul("5000"), FormatUtil.convertNumberToHangul("5000").equals("오천"));
assertTrue(FormatUtil.convertNumberToHangul("50000"), FormatUtil.convertNumberToHangul("50000").equals("오만"));
assertTrue(FormatUtil.convertNumberToHangul("500000"), FormatUtil.convertNumberToHangul("500000").equals("오십만"));
assertTrue(FormatUtil.convertNumberToHangul("5000000"), FormatUtil.convertNumberToHangul("5000000").equals("오백만"));
assertTrue(FormatUtil.convertNumberToHangul("50000000"), FormatUtil.convertNumberToHangul("50000000").equals("오천만"));
assertTrue(FormatUtil.convertNumberToHangul("500000000"), FormatUtil.convertNumberToHangul("500000000").equals("오억"));
assertTrue(FormatUtil.convertNumberToHangul("5000000000"), FormatUtil.convertNumberToHangul("5000000000").equals("오십억"));
assertTrue(FormatUtil.convertNumberToHangul("50000000000"), FormatUtil.convertNumberToHangul("50000000000").equals("오백억"));
assertTrue(FormatUtil.convertNumberToHangul("500000000000"), FormatUtil.convertNumberToHangul("500000000000").equals("오천억"));
assertTrue(FormatUtil.convertNumberToHangul("5000000000000"), FormatUtil.convertNumberToHangul("5000000000000").equals("오조"));
assertTrue(FormatUtil.convertNumberToHangul("50000000000000"), FormatUtil.convertNumberToHangul("50000000000000").equals("오십조"));
assertTrue(FormatUtil.convertNumberToHangul("500000000000000"), FormatUtil.convertNumberToHangul("500000000000000").equals("오백조"));
assertTrue(FormatUtil.convertNumberToHangul("5000000000000000"), FormatUtil.convertNumberToHangul("5000000000000000").equals("오천조"));
assertTrue(FormatUtil.convertNumberToHangul("60"), FormatUtil.convertNumberToHangul("60").equals("육십"));
assertTrue(FormatUtil.convertNumberToHangul("600"), FormatUtil.convertNumberToHangul("600").equals("육백"));
assertTrue(FormatUtil.convertNumberToHangul("6000"), FormatUtil.convertNumberToHangul("6000").equals("육천"));
assertTrue(FormatUtil.convertNumberToHangul("60000"), FormatUtil.convertNumberToHangul("60000").equals("육만"));
assertTrue(FormatUtil.convertNumberToHangul("600000"), FormatUtil.convertNumberToHangul("600000").equals("육십만"));
assertTrue(FormatUtil.convertNumberToHangul("6000000"), FormatUtil.convertNumberToHangul("6000000").equals("육백만"));
assertTrue(FormatUtil.convertNumberToHangul("60000000"), FormatUtil.convertNumberToHangul("60000000").equals("육천만"));
assertTrue(FormatUtil.convertNumberToHangul("600000000"), FormatUtil.convertNumberToHangul("600000000").equals("육억"));
assertTrue(FormatUtil.convertNumberToHangul("6000000000"), FormatUtil.convertNumberToHangul("6000000000").equals("육십억"));
assertTrue(FormatUtil.convertNumberToHangul("60000000000"), FormatUtil.convertNumberToHangul("60000000000").equals("육백억"));
assertTrue(FormatUtil.convertNumberToHangul("600000000000"), FormatUtil.convertNumberToHangul("600000000000").equals("육천억"));
assertTrue(FormatUtil.convertNumberToHangul("6000000000000"), FormatUtil.convertNumberToHangul("6000000000000").equals("육조"));
assertTrue(FormatUtil.convertNumberToHangul("60000000000000"), FormatUtil.convertNumberToHangul("60000000000000").equals("육십조"));
assertTrue(FormatUtil.convertNumberToHangul("600000000000000"), FormatUtil.convertNumberToHangul("600000000000000").equals("육백조"));
assertTrue(FormatUtil.convertNumberToHangul("6000000000000000"), FormatUtil.convertNumberToHangul("6000000000000000").equals("육천조"));
assertTrue(FormatUtil.convertNumberToHangul("70"), FormatUtil.convertNumberToHangul("70").equals("칠십"));
assertTrue(FormatUtil.convertNumberToHangul("700"), FormatUtil.convertNumberToHangul("700").equals("칠백"));
assertTrue(FormatUtil.convertNumberToHangul("7000"), FormatUtil.convertNumberToHangul("7000").equals("칠천"));
assertTrue(FormatUtil.convertNumberToHangul("70000"), FormatUtil.convertNumberToHangul("70000").equals("칠만"));
assertTrue(FormatUtil.convertNumberToHangul("700000"), FormatUtil.convertNumberToHangul("700000").equals("칠십만"));
assertTrue(FormatUtil.convertNumberToHangul("7000000"), FormatUtil.convertNumberToHangul("7000000").equals("칠백만"));
assertTrue(FormatUtil.convertNumberToHangul("70000000"), FormatUtil.convertNumberToHangul("70000000").equals("칠천만"));
assertTrue(FormatUtil.convertNumberToHangul("700000000"), FormatUtil.convertNumberToHangul("700000000").equals("칠억"));
assertTrue(FormatUtil.convertNumberToHangul("7000000000"), FormatUtil.convertNumberToHangul("7000000000").equals("칠십억"));
assertTrue(FormatUtil.convertNumberToHangul("70000000000"), FormatUtil.convertNumberToHangul("70000000000").equals("칠백억"));
assertTrue(FormatUtil.convertNumberToHangul("700000000000"), FormatUtil.convertNumberToHangul("700000000000").equals("칠천억"));
assertTrue(FormatUtil.convertNumberToHangul("7000000000000"), FormatUtil.convertNumberToHangul("7000000000000").equals("칠조"));
assertTrue(FormatUtil.convertNumberToHangul("70000000000000"), FormatUtil.convertNumberToHangul("70000000000000").equals("칠십조"));
assertTrue(FormatUtil.convertNumberToHangul("700000000000000"), FormatUtil.convertNumberToHangul("700000000000000").equals("칠백조"));
assertTrue(FormatUtil.convertNumberToHangul("7000000000000000"), FormatUtil.convertNumberToHangul("7000000000000000").equals("칠천조"));
assertTrue(FormatUtil.convertNumberToHangul("80"), FormatUtil.convertNumberToHangul("80").equals("팔십"));
assertTrue(FormatUtil.convertNumberToHangul("800"), FormatUtil.convertNumberToHangul("800").equals("팔백"));
assertTrue(FormatUtil.convertNumberToHangul("8000"), FormatUtil.convertNumberToHangul("8000").equals("팔천"));
assertTrue(FormatUtil.convertNumberToHangul("80000"), FormatUtil.convertNumberToHangul("80000").equals("팔만"));
assertTrue(FormatUtil.convertNumberToHangul("800000"), FormatUtil.convertNumberToHangul("800000").equals("팔십만"));
assertTrue(FormatUtil.convertNumberToHangul("8000000"), FormatUtil.convertNumberToHangul("8000000").equals("팔백만"));
assertTrue(FormatUtil.convertNumberToHangul("80000000"), FormatUtil.convertNumberToHangul("80000000").equals("팔천만"));
assertTrue(FormatUtil.convertNumberToHangul("800000000"), FormatUtil.convertNumberToHangul("800000000").equals("팔억"));
assertTrue(FormatUtil.convertNumberToHangul("8000000000"), FormatUtil.convertNumberToHangul("8000000000").equals("팔십억"));
assertTrue(FormatUtil.convertNumberToHangul("80000000000"), FormatUtil.convertNumberToHangul("80000000000").equals("팔백억"));
assertTrue(FormatUtil.convertNumberToHangul("800000000000"), FormatUtil.convertNumberToHangul("800000000000").equals("팔천억"));
assertTrue(FormatUtil.convertNumberToHangul("8000000000000"), FormatUtil.convertNumberToHangul("8000000000000").equals("팔조"));
assertTrue(FormatUtil.convertNumberToHangul("80000000000000"), FormatUtil.convertNumberToHangul("80000000000000").equals("팔십조"));
assertTrue(FormatUtil.convertNumberToHangul("800000000000000"), FormatUtil.convertNumberToHangul("800000000000000").equals("팔백조"));
assertTrue(FormatUtil.convertNumberToHangul("8000000000000000"), FormatUtil.convertNumberToHangul("8000000000000000").equals("팔천조"));
assertTrue(FormatUtil.convertNumberToHangul("90"), FormatUtil.convertNumberToHangul("90").equals("구십"));
assertTrue(FormatUtil.convertNumberToHangul("900"), FormatUtil.convertNumberToHangul("900").equals("구백"));
assertTrue(FormatUtil.convertNumberToHangul("9000"), FormatUtil.convertNumberToHangul("9000").equals("구천"));
assertTrue(FormatUtil.convertNumberToHangul("90000"), FormatUtil.convertNumberToHangul("90000").equals("구만"));
assertTrue(FormatUtil.convertNumberToHangul("900000"), FormatUtil.convertNumberToHangul("900000").equals("구십만"));
assertTrue(FormatUtil.convertNumberToHangul("9000000"), FormatUtil.convertNumberToHangul("9000000").equals("구백만"));
assertTrue(FormatUtil.convertNumberToHangul("90000000"), FormatUtil.convertNumberToHangul("90000000").equals("구천만"));
assertTrue(FormatUtil.convertNumberToHangul("900000000"), FormatUtil.convertNumberToHangul("900000000").equals("구억"));
assertTrue(FormatUtil.convertNumberToHangul("9000000000"), FormatUtil.convertNumberToHangul("9000000000").equals("구십억"));
assertTrue(FormatUtil.convertNumberToHangul("90000000000"), FormatUtil.convertNumberToHangul("90000000000").equals("구백억"));
assertTrue(FormatUtil.convertNumberToHangul("900000000000"), FormatUtil.convertNumberToHangul("900000000000").equals("구천억"));
assertTrue(FormatUtil.convertNumberToHangul("9000000000000"), FormatUtil.convertNumberToHangul("9000000000000").equals("구조"));
assertTrue(FormatUtil.convertNumberToHangul("90000000000000"), FormatUtil.convertNumberToHangul("90000000000000").equals("구십조"));
assertTrue(FormatUtil.convertNumberToHangul("900000000000000"), FormatUtil.convertNumberToHangul("900000000000000").equals("구백조"));
assertTrue(FormatUtil.convertNumberToHangul("9000000000000000"), FormatUtil.convertNumberToHangul("9000000000000000").equals("구천조"));
assertTrue(FormatUtil.convertNumberToHangul("1"), FormatUtil.convertNumberToHangul("1").equals("일"));
assertTrue(FormatUtil.convertNumberToHangul("18"), FormatUtil.convertNumberToHangul("18").equals("일십팔"));
assertTrue(FormatUtil.convertNumberToHangul("181"), FormatUtil.convertNumberToHangul("181").equals("일백팔십일"));
assertTrue(FormatUtil.convertNumberToHangul("1815"), FormatUtil.convertNumberToHangul("1815").equals("일천팔백일십오"));
assertTrue(FormatUtil.convertNumberToHangul("18152"), FormatUtil.convertNumberToHangul("18152").equals("일만팔천일백오십이"));
assertTrue(FormatUtil.convertNumberToHangul("1815210"), FormatUtil.convertNumberToHangul("1815210").equals("일백팔십일만오천이백일십"));
assertTrue(FormatUtil.convertNumberToHangul("18152103"), FormatUtil.convertNumberToHangul("18152103").equals("일천팔백일십오만이천일백삼"));
assertTrue(FormatUtil.convertNumberToHangul("181521039"), FormatUtil.convertNumberToHangul("181521039").equals("일억팔천일백오십이만일천삼십구"));
assertTrue(FormatUtil.convertNumberToHangul("1815210391"), FormatUtil.convertNumberToHangul("1815210391").equals("일십팔억일천오백이십일만삼백구십일"));
assertTrue(FormatUtil.convertNumberToHangul("18152103918"), FormatUtil.convertNumberToHangul("18152103918").equals("일백팔십일억오천이백일십만삼천구백일십팔"));
assertTrue(FormatUtil.convertNumberToHangul("181521039187"), FormatUtil.convertNumberToHangul("181521039187").equals("일천팔백일십오억이천일백삼만구천일백팔십칠"));
assertTrue(FormatUtil.convertNumberToHangul("1815210391879"), FormatUtil.convertNumberToHangul("1815210391879").equals("일조팔천일백오십이억일천삼십구만일천팔백칠십구"));
assertTrue(FormatUtil.convertNumberToHangul("18152103918797"), FormatUtil.convertNumberToHangul("18152103918797").equals("일십팔조일천오백이십일억삼백구십일만팔천칠백구십칠"));
assertTrue(FormatUtil.convertNumberToHangul("181521039187971"), FormatUtil.convertNumberToHangul("181521039187971").equals("일백팔십일조오천이백일십억삼천구백일십팔만칠천구백칠십일"));
assertTrue(FormatUtil.convertNumberToHangul("1815210391879710"), FormatUtil.convertNumberToHangul("1815210391879710").equals("일천팔백일십오조이천일백삼억구천일백팔십칠만구천칠백일십"));
assertTrue(FormatUtil.convertNumberToHangul("10"), FormatUtil.convertNumberToHangul("10").equals("일십"));
assertTrue(FormatUtil.convertNumberToHangul("107"), FormatUtil.convertNumberToHangul("107").equals("일백칠"));
assertTrue(FormatUtil.convertNumberToHangul("1078"), FormatUtil.convertNumberToHangul("1078").equals("일천칠십팔"));
assertTrue(FormatUtil.convertNumberToHangul("10788"), FormatUtil.convertNumberToHangul("10788").equals("일만칠백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("107886"), FormatUtil.convertNumberToHangul("107886").equals("일십만칠천팔백팔십육"));
assertTrue(FormatUtil.convertNumberToHangul("1078861"), FormatUtil.convertNumberToHangul("1078861").equals("일백칠만팔천팔백육십일"));
assertTrue(FormatUtil.convertNumberToHangul("10788612"), FormatUtil.convertNumberToHangul("10788612").equals("일천칠십팔만팔천육백일십이"));
assertTrue(FormatUtil.convertNumberToHangul("107886129"), FormatUtil.convertNumberToHangul("107886129").equals("일억칠백팔십팔만육천일백이십구"));
assertTrue(FormatUtil.convertNumberToHangul("1078861291"), FormatUtil.convertNumberToHangul("1078861291").equals("일십억칠천팔백팔십육만일천이백구십일"));
assertTrue(FormatUtil.convertNumberToHangul("10788612911"), FormatUtil.convertNumberToHangul("10788612911").equals("일백칠억팔천팔백육십일만이천구백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("107886129118"), FormatUtil.convertNumberToHangul("107886129118").equals("일천칠십팔억팔천육백일십이만구천일백일십팔"));
assertTrue(FormatUtil.convertNumberToHangul("1078861291182"), FormatUtil.convertNumberToHangul("1078861291182").equals("일조칠백팔십팔억육천일백이십구만일천일백팔십이"));
assertTrue(FormatUtil.convertNumberToHangul("10788612911822"), FormatUtil.convertNumberToHangul("10788612911822").equals("일십조칠천팔백팔십육억일천이백구십일만일천팔백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("107886129118227"), FormatUtil.convertNumberToHangul("107886129118227").equals("일백칠조팔천팔백육십일억이천구백일십일만팔천이백이십칠"));
assertTrue(FormatUtil.convertNumberToHangul("3"), FormatUtil.convertNumberToHangul("3").equals("삼"));
assertTrue(FormatUtil.convertNumberToHangul("31"), FormatUtil.convertNumberToHangul("31").equals("삼십일"));
assertTrue(FormatUtil.convertNumberToHangul("315"), FormatUtil.convertNumberToHangul("315").equals("삼백일십오"));
assertTrue(FormatUtil.convertNumberToHangul("31510"), FormatUtil.convertNumberToHangul("31510").equals("삼만일천오백일십"));
assertTrue(FormatUtil.convertNumberToHangul("315109"), FormatUtil.convertNumberToHangul("315109").equals("삼십일만오천일백구"));
assertTrue(FormatUtil.convertNumberToHangul("3151098"), FormatUtil.convertNumberToHangul("3151098").equals("삼백일십오만일천구십팔"));
assertTrue(FormatUtil.convertNumberToHangul("31510981"), FormatUtil.convertNumberToHangul("31510981").equals("삼천일백오십일만구백팔십일"));
assertTrue(FormatUtil.convertNumberToHangul("315109814"), FormatUtil.convertNumberToHangul("315109814").equals("삼억일천오백일십만구천팔백일십사"));
assertTrue(FormatUtil.convertNumberToHangul("3151098141"), FormatUtil.convertNumberToHangul("3151098141").equals("삼십일억오천일백구만팔천일백사십일"));
assertTrue(FormatUtil.convertNumberToHangul("31510981419"), FormatUtil.convertNumberToHangul("31510981419").equals("삼백일십오억일천구십팔만일천사백일십구"));
assertTrue(FormatUtil.convertNumberToHangul("315109814197"), FormatUtil.convertNumberToHangul("315109814197").equals("삼천일백오십일억구백팔십일만사천일백구십칠"));
assertTrue(FormatUtil.convertNumberToHangul("3151098141976"), FormatUtil.convertNumberToHangul("3151098141976").equals("삼조일천오백일십억구천팔백일십사만일천구백칠십육"));
assertTrue(FormatUtil.convertNumberToHangul("31510981419766"), FormatUtil.convertNumberToHangul("31510981419766").equals("삼십일조오천일백구억팔천일백사십일만구천칠백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("315109814197664"), FormatUtil.convertNumberToHangul("315109814197664").equals("삼백일십오조일천구십팔억일천사백일십구만칠천육백육십사"));
assertTrue(FormatUtil.convertNumberToHangul("3151098141976640"), FormatUtil.convertNumberToHangul("3151098141976640").equals("삼천일백오십일조구백팔십일억사천일백구십칠만육천육백사십"));
assertTrue(FormatUtil.convertNumberToHangul("5"), FormatUtil.convertNumberToHangul("5").equals("오"));
assertTrue(FormatUtil.convertNumberToHangul("55"), FormatUtil.convertNumberToHangul("55").equals("오십오"));
assertTrue(FormatUtil.convertNumberToHangul("550"), FormatUtil.convertNumberToHangul("550").equals("오백오십"));
assertTrue(FormatUtil.convertNumberToHangul("5504"), FormatUtil.convertNumberToHangul("5504").equals("오천오백사"));
assertTrue(FormatUtil.convertNumberToHangul("55041"), FormatUtil.convertNumberToHangul("55041").equals("오만오천사십일"));
assertTrue(FormatUtil.convertNumberToHangul("550418"), FormatUtil.convertNumberToHangul("550418").equals("오십오만사백일십팔"));
assertTrue(FormatUtil.convertNumberToHangul("5504185"), FormatUtil.convertNumberToHangul("5504185").equals("오백오십만사천일백팔십오"));
assertTrue(FormatUtil.convertNumberToHangul("55041854"), FormatUtil.convertNumberToHangul("55041854").equals("오천오백사만일천팔백오십사"));
assertTrue(FormatUtil.convertNumberToHangul("550418547"), FormatUtil.convertNumberToHangul("550418547").equals("오억오천사십일만팔천오백사십칠"));
assertTrue(FormatUtil.convertNumberToHangul("5504185474"), FormatUtil.convertNumberToHangul("5504185474").equals("오십오억사백일십팔만오천사백칠십사"));
assertTrue(FormatUtil.convertNumberToHangul("55041854746"), FormatUtil.convertNumberToHangul("55041854746").equals("오백오십억사천일백팔십오만사천칠백사십육"));
assertTrue(FormatUtil.convertNumberToHangul("550418547468"), FormatUtil.convertNumberToHangul("550418547468").equals("오천오백사억일천팔백오십사만칠천사백육십팔"));
assertTrue(FormatUtil.convertNumberToHangul("5504185474688"), FormatUtil.convertNumberToHangul("5504185474688").equals("오조오천사십일억팔천오백사십칠만사천육백팔십팔"));
assertTrue(FormatUtil.convertNumberToHangul("55041854746883"), FormatUtil.convertNumberToHangul("55041854746883").equals("오십오조사백일십팔억오천사백칠십사만육천팔백팔십삼"));
assertTrue(FormatUtil.convertNumberToHangul("550418547468831"), FormatUtil.convertNumberToHangul("550418547468831").equals("오백오십조사천일백팔십오억사천칠백사십육만팔천팔백삼십일"));
assertTrue(FormatUtil.convertNumberToHangul("2"), FormatUtil.convertNumberToHangul("2").equals("이"));
assertTrue(FormatUtil.convertNumberToHangul("23"), FormatUtil.convertNumberToHangul("23").equals("이십삼"));
assertTrue(FormatUtil.convertNumberToHangul("233"), FormatUtil.convertNumberToHangul("233").equals("이백삼십삼"));
assertTrue(FormatUtil.convertNumberToHangul("2337"), FormatUtil.convertNumberToHangul("2337").equals("이천삼백삼십칠"));
assertTrue(FormatUtil.convertNumberToHangul("23379"), FormatUtil.convertNumberToHangul("23379").equals("이만삼천삼백칠십구"));
assertTrue(FormatUtil.convertNumberToHangul("2337910"), FormatUtil.convertNumberToHangul("2337910").equals("이백삼십삼만칠천구백일십"));
assertTrue(FormatUtil.convertNumberToHangul("23379104"), FormatUtil.convertNumberToHangul("23379104").equals("이천삼백삼십칠만구천일백사"));
assertTrue(FormatUtil.convertNumberToHangul("233791047"), FormatUtil.convertNumberToHangul("233791047").equals("이억삼천삼백칠십구만일천사십칠"));
assertTrue(FormatUtil.convertNumberToHangul("2337910477"), FormatUtil.convertNumberToHangul("2337910477").equals("이십삼억삼천칠백구십일만사백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("23379104774"), FormatUtil.convertNumberToHangul("23379104774").equals("이백삼십삼억칠천구백일십만사천칠백칠십사"));
assertTrue(FormatUtil.convertNumberToHangul("233791047746"), FormatUtil.convertNumberToHangul("233791047746").equals("이천삼백삼십칠억구천일백사만칠천칠백사십육"));
assertTrue(FormatUtil.convertNumberToHangul("2337910477466"), FormatUtil.convertNumberToHangul("2337910477466").equals("이조삼천삼백칠십구억일천사십칠만칠천사백육십육"));
assertTrue(FormatUtil.convertNumberToHangul("23379104774661"), FormatUtil.convertNumberToHangul("23379104774661").equals("이십삼조삼천칠백구십일억사백칠십칠만사천육백육십일"));
assertTrue(FormatUtil.convertNumberToHangul("233791047746615"), FormatUtil.convertNumberToHangul("233791047746615").equals("이백삼십삼조칠천구백일십억사천칠백칠십사만육천육백일십오"));
assertTrue(FormatUtil.convertNumberToHangul("2337910477466150"), FormatUtil.convertNumberToHangul("2337910477466150").equals("이천삼백삼십칠조구천일백사억칠천칠백사십육만육천일백오십"));
assertTrue(FormatUtil.convertNumberToHangul("3"), FormatUtil.convertNumberToHangul("3").equals("삼"));
assertTrue(FormatUtil.convertNumberToHangul("37"), FormatUtil.convertNumberToHangul("37").equals("삼십칠"));
assertTrue(FormatUtil.convertNumberToHangul("372"), FormatUtil.convertNumberToHangul("372").equals("삼백칠십이"));
assertTrue(FormatUtil.convertNumberToHangul("3725"), FormatUtil.convertNumberToHangul("3725").equals("삼천칠백이십오"));
assertTrue(FormatUtil.convertNumberToHangul("37255"), FormatUtil.convertNumberToHangul("37255").equals("삼만칠천이백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("372556"), FormatUtil.convertNumberToHangul("372556").equals("삼십칠만이천오백오십육"));
assertTrue(FormatUtil.convertNumberToHangul("3725563"), FormatUtil.convertNumberToHangul("3725563").equals("삼백칠십이만오천오백육십삼"));
assertTrue(FormatUtil.convertNumberToHangul("37255631"), FormatUtil.convertNumberToHangul("37255631").equals("삼천칠백이십오만오천육백삼십일"));
assertTrue(FormatUtil.convertNumberToHangul("372556314"), FormatUtil.convertNumberToHangul("372556314").equals("삼억칠천이백오십오만육천삼백일십사"));
assertTrue(FormatUtil.convertNumberToHangul("3725563149"), FormatUtil.convertNumberToHangul("3725563149").equals("삼십칠억이천오백오십육만삼천일백사십구"));
assertTrue(FormatUtil.convertNumberToHangul("37255631492"), FormatUtil.convertNumberToHangul("37255631492").equals("삼백칠십이억오천오백육십삼만일천사백구십이"));
assertTrue(FormatUtil.convertNumberToHangul("372556314923"), FormatUtil.convertNumberToHangul("372556314923").equals("삼천칠백이십오억오천육백삼십일만사천구백이십삼"));
assertTrue(FormatUtil.convertNumberToHangul("3725563149235"), FormatUtil.convertNumberToHangul("3725563149235").equals("삼조칠천이백오십오억육천삼백일십사만구천이백삼십오"));
assertTrue(FormatUtil.convertNumberToHangul("37255631492352"), FormatUtil.convertNumberToHangul("37255631492352").equals("삼십칠조이천오백오십육억삼천일백사십구만이천삼백오십이"));
assertTrue(FormatUtil.convertNumberToHangul("372556314923520"), FormatUtil.convertNumberToHangul("372556314923520").equals("삼백칠십이조오천오백육십삼억일천사백구십이만삼천오백이십"));
assertTrue(FormatUtil.convertNumberToHangul("7"), FormatUtil.convertNumberToHangul("7").equals("칠"));
assertTrue(FormatUtil.convertNumberToHangul("76"), FormatUtil.convertNumberToHangul("76").equals("칠십육"));
assertTrue(FormatUtil.convertNumberToHangul("762"), FormatUtil.convertNumberToHangul("762").equals("칠백육십이"));
assertTrue(FormatUtil.convertNumberToHangul("7629"), FormatUtil.convertNumberToHangul("7629").equals("칠천육백이십구"));
assertTrue(FormatUtil.convertNumberToHangul("762910"), FormatUtil.convertNumberToHangul("762910").equals("칠십육만이천구백일십"));
assertTrue(FormatUtil.convertNumberToHangul("7629103"), FormatUtil.convertNumberToHangul("7629103").equals("칠백육십이만구천일백삼"));
assertTrue(FormatUtil.convertNumberToHangul("762910310"), FormatUtil.convertNumberToHangul("762910310").equals("칠억육천이백구십일만삼백일십"));
assertTrue(FormatUtil.convertNumberToHangul("7629103107"), FormatUtil.convertNumberToHangul("7629103107").equals("칠십육억이천구백일십만삼천일백칠"));
assertTrue(FormatUtil.convertNumberToHangul("76291031071"), FormatUtil.convertNumberToHangul("76291031071").equals("칠백육십이억구천일백삼만일천칠십일"));
assertTrue(FormatUtil.convertNumberToHangul("762910310716"), FormatUtil.convertNumberToHangul("762910310716").equals("칠천육백이십구억일천삼십일만칠백일십육"));
assertTrue(FormatUtil.convertNumberToHangul("76291031071610"), FormatUtil.convertNumberToHangul("76291031071610").equals("칠십육조이천구백일십억삼천일백칠만일천육백일십"));
assertTrue(FormatUtil.convertNumberToHangul("762910310716106"), FormatUtil.convertNumberToHangul("762910310716106").equals("칠백육십이조구천일백삼억일천칠십일만육천일백육"));
assertTrue(FormatUtil.convertNumberToHangul("7629103107161060"), FormatUtil.convertNumberToHangul("7629103107161060").equals("칠천육백이십구조일천삼십일억칠백일십육만일천육십"));
assertTrue(FormatUtil.convertNumberToHangul("7"), FormatUtil.convertNumberToHangul("7").equals("칠"));
assertTrue(FormatUtil.convertNumberToHangul("77"), FormatUtil.convertNumberToHangul("77").equals("칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("778"), FormatUtil.convertNumberToHangul("778").equals("칠백칠십팔"));
assertTrue(FormatUtil.convertNumberToHangul("7786"), FormatUtil.convertNumberToHangul("7786").equals("칠천칠백팔십육"));
assertTrue(FormatUtil.convertNumberToHangul("77864"), FormatUtil.convertNumberToHangul("77864").equals("칠만칠천팔백육십사"));
assertTrue(FormatUtil.convertNumberToHangul("778646"), FormatUtil.convertNumberToHangul("778646").equals("칠십칠만팔천육백사십육"));
assertTrue(FormatUtil.convertNumberToHangul("7786462"), FormatUtil.convertNumberToHangul("7786462").equals("칠백칠십팔만육천사백육십이"));
assertTrue(FormatUtil.convertNumberToHangul("77864622"), FormatUtil.convertNumberToHangul("77864622").equals("칠천칠백팔십육만사천육백이십이"));
assertTrue(FormatUtil.convertNumberToHangul("778646227"), FormatUtil.convertNumberToHangul("778646227").equals("칠억칠천팔백육십사만육천이백이십칠"));
assertTrue(FormatUtil.convertNumberToHangul("7786462271"), FormatUtil.convertNumberToHangul("7786462271").equals("칠십칠억팔천육백사십육만이천이백칠십일"));
assertTrue(FormatUtil.convertNumberToHangul("77864622713"), FormatUtil.convertNumberToHangul("77864622713").equals("칠백칠십팔억육천사백육십이만이천칠백일십삼"));
assertTrue(FormatUtil.convertNumberToHangul("778646227137"), FormatUtil.convertNumberToHangul("778646227137").equals("칠천칠백팔십육억사천육백이십이만칠천일백삼십칠"));
assertTrue(FormatUtil.convertNumberToHangul("7786462271379"), FormatUtil.convertNumberToHangul("7786462271379").equals("칠조칠천팔백육십사억육천이백이십칠만일천삼백칠십구"));
assertTrue(FormatUtil.convertNumberToHangul("77864622713792"), FormatUtil.convertNumberToHangul("77864622713792").equals("칠십칠조팔천육백사십육억이천이백칠십일만삼천칠백구십이"));
assertTrue(FormatUtil.convertNumberToHangul("778646227137924"), FormatUtil.convertNumberToHangul("778646227137924").equals("칠백칠십팔조육천사백육십이억이천칠백일십삼만칠천구백이십사"));
assertTrue(FormatUtil.convertNumberToHangul("5"), FormatUtil.convertNumberToHangul("5").equals("오"));
assertTrue(FormatUtil.convertNumberToHangul("51"), FormatUtil.convertNumberToHangul("51").equals("오십일"));
assertTrue(FormatUtil.convertNumberToHangul("517"), FormatUtil.convertNumberToHangul("517").equals("오백일십칠"));
assertTrue(FormatUtil.convertNumberToHangul("51710"), FormatUtil.convertNumberToHangul("51710").equals("오만일천칠백일십"));
assertTrue(FormatUtil.convertNumberToHangul("517101"), FormatUtil.convertNumberToHangul("517101").equals("오십일만칠천일백일"));
assertTrue(FormatUtil.convertNumberToHangul("5171013"), FormatUtil.convertNumberToHangul("5171013").equals("오백일십칠만일천일십삼"));
assertTrue(FormatUtil.convertNumberToHangul("51710136"), FormatUtil.convertNumberToHangul("51710136").equals("오천일백칠십일만일백삼십육"));
assertTrue(FormatUtil.convertNumberToHangul("517101364"), FormatUtil.convertNumberToHangul("517101364").equals("오억일천칠백일십만일천삼백육십사"));
assertTrue(FormatUtil.convertNumberToHangul("5171013649"), FormatUtil.convertNumberToHangul("5171013649").equals("오십일억칠천일백일만삼천육백사십구"));
assertTrue(FormatUtil.convertNumberToHangul("51710136492"), FormatUtil.convertNumberToHangul("51710136492").equals("오백일십칠억일천일십삼만육천사백구십이"));
assertTrue(FormatUtil.convertNumberToHangul("517101364920"), FormatUtil.convertNumberToHangul("517101364920").equals("오천일백칠십일억일백삼십육만사천구백이십"));
assertTrue(FormatUtil.convertNumberToHangul("5171013649204"), FormatUtil.convertNumberToHangul("5171013649204").equals("오조일천칠백일십억일천삼백육십사만구천이백사"));
assertTrue(FormatUtil.convertNumberToHangul("51710136492045"), FormatUtil.convertNumberToHangul("51710136492045").equals("오십일조칠천일백일억삼천육백사십구만이천사십오"));
assertTrue(FormatUtil.convertNumberToHangul("517101364920459"), FormatUtil.convertNumberToHangul("517101364920459").equals("오백일십칠조일천일십삼억육천사백구십이만사백오십구"));
assertTrue(FormatUtil.convertNumberToHangul("5171013649204590"), FormatUtil.convertNumberToHangul("5171013649204590").equals("오천일백칠십일조일백삼십육억사천구백이십만사천오백구십"));
assertTrue(FormatUtil.convertNumberToHangul("3969674"), FormatUtil.convertNumberToHangul("3969674").equals("삼백구십육만구천육백칠십사"));
assertTrue(FormatUtil.convertNumberToHangul("39696746"), FormatUtil.convertNumberToHangul("39696746").equals("삼천구백육십구만육천칠백사십육"));
assertTrue(FormatUtil.convertNumberToHangul("396967468"), FormatUtil.convertNumberToHangul("396967468").equals("삼억구천육백구십육만칠천사백육십팔"));
assertTrue(FormatUtil.convertNumberToHangul("3969674689"), FormatUtil.convertNumberToHangul("3969674689").equals("삼십구억육천구백육십칠만사천육백팔십구"));
assertTrue(FormatUtil.convertNumberToHangul("39696746898"), FormatUtil.convertNumberToHangul("39696746898").equals("삼백구십육억구천육백칠십사만육천팔백구십팔"));
assertTrue(FormatUtil.convertNumberToHangul("396967468981"), FormatUtil.convertNumberToHangul("396967468981").equals("삼천구백육십구억육천칠백사십육만팔천구백팔십일"));
assertTrue(FormatUtil.convertNumberToHangul("3969674689815"), FormatUtil.convertNumberToHangul("3969674689815").equals("삼조구천육백구십육억칠천사백육십팔만구천팔백일십오"));
assertTrue(FormatUtil.convertNumberToHangul("39696746898157"), FormatUtil.convertNumberToHangul("39696746898157").equals("삼십구조육천구백육십칠억사천육백팔십구만팔천일백오십칠"));
assertTrue(FormatUtil.convertNumberToHangul("396967468981577"), FormatUtil.convertNumberToHangul("396967468981577").equals("삼백구십육조구천육백칠십사억육천팔백구십팔만일천오백칠십칠"));
assertTrue(FormatUtil.convertNumberToHangul("3969674689815770"), FormatUtil.convertNumberToHangul("3969674689815770").equals("삼천구백육십구조육천칠백사십육억팔천구백팔십일만오천칠백칠십"));
assertTrue(FormatUtil.convertNumberToHangul("1"), FormatUtil.convertNumberToHangul("1").equals("일"));
assertTrue(FormatUtil.convertNumberToHangul("14"), FormatUtil.convertNumberToHangul("14").equals("일십사"));
assertTrue(FormatUtil.convertNumberToHangul("146"), FormatUtil.convertNumberToHangul("146").equals("일백사십육"));
assertTrue(FormatUtil.convertNumberToHangul("1464"), FormatUtil.convertNumberToHangul("1464").equals("일천사백육십사"));
assertTrue(FormatUtil.convertNumberToHangul("14646"), FormatUtil.convertNumberToHangul("14646").equals("일만사천육백사십육"));
assertTrue(FormatUtil.convertNumberToHangul("146469"), FormatUtil.convertNumberToHangul("146469").equals("일십사만육천사백육십구"));
assertTrue(FormatUtil.convertNumberToHangul("1464694"), FormatUtil.convertNumberToHangul("1464694").equals("일백사십육만사천육백구십사"));
assertTrue(FormatUtil.convertNumberToHangul("14646949"), FormatUtil.convertNumberToHangul("14646949").equals("일천사백육십사만육천구백사십구"));
assertTrue(FormatUtil.convertNumberToHangul("146469494"), FormatUtil.convertNumberToHangul("146469494").equals("일억사천육백사십육만구천사백구십사"));
assertTrue(FormatUtil.convertNumberToHangul("1464694944"), FormatUtil.convertNumberToHangul("1464694944").equals("일십사억육천사백육십구만사천구백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("14646949447"), FormatUtil.convertNumberToHangul("14646949447").equals("일백사십육억사천육백구십사만구천사백사십칠"));
assertTrue(FormatUtil.convertNumberToHangul("146469494475"), FormatUtil.convertNumberToHangul("146469494475").equals("일천사백육십사억육천구백사십구만사천사백칠십오"));
assertTrue(FormatUtil.convertNumberToHangul("1464694944755"), FormatUtil.convertNumberToHangul("1464694944755").equals("일조사천육백사십육억구천사백구십사만사천칠백오십오"));
assertTrue(FormatUtil.convertNumberToHangul("14646949447554"), FormatUtil.convertNumberToHangul("14646949447554").equals("일십사조육천사백육십구억사천구백사십사만칠천오백오십사"));
assertTrue(FormatUtil.convertNumberToHangul("1464694944755410"), FormatUtil.convertNumberToHangul("1464694944755410").equals("일천사백육십사조육천구백사십구억사천사백칠십오만오천사백일십"));
assertTrue(FormatUtil.convertNumberToHangul("2"), FormatUtil.convertNumberToHangul("2").equals("이"));
assertTrue(FormatUtil.convertNumberToHangul("21"), FormatUtil.convertNumberToHangul("21").equals("이십일"));
assertTrue(FormatUtil.convertNumberToHangul("212"), FormatUtil.convertNumberToHangul("212").equals("이백일십이"));
assertTrue(FormatUtil.convertNumberToHangul("2125"), FormatUtil.convertNumberToHangul("2125").equals("이천일백이십오"));
assertTrue(FormatUtil.convertNumberToHangul("21254"), FormatUtil.convertNumberToHangul("21254").equals("이만일천이백오십사"));
assertTrue(FormatUtil.convertNumberToHangul("212540"), FormatUtil.convertNumberToHangul("212540").equals("이십일만이천오백사십"));
assertTrue(FormatUtil.convertNumberToHangul("2125403"), FormatUtil.convertNumberToHangul("2125403").equals("이백일십이만오천사백삼"));
assertTrue(FormatUtil.convertNumberToHangul("21254031"), FormatUtil.convertNumberToHangul("21254031").equals("이천일백이십오만사천삼십일"));
assertTrue(FormatUtil.convertNumberToHangul("212540315"), FormatUtil.convertNumberToHangul("212540315").equals("이억일천이백오십사만삼백일십오"));
assertTrue(FormatUtil.convertNumberToHangul("2125403151"), FormatUtil.convertNumberToHangul("2125403151").equals("이십일억이천오백사십만삼천일백오십일"));
assertTrue(FormatUtil.convertNumberToHangul("21254031511"), FormatUtil.convertNumberToHangul("21254031511").equals("이백일십이억오천사백삼만일천오백일십일"));
assertTrue(FormatUtil.convertNumberToHangul("212540315119"), FormatUtil.convertNumberToHangul("212540315119").equals("이천일백이십오억사천삼십일만오천일백일십구"));
assertTrue(FormatUtil.convertNumberToHangul("2125403151193"), FormatUtil.convertNumberToHangul("2125403151193").equals("이조일천이백오십사억삼백일십오만일천일백구십삼"));
assertTrue(FormatUtil.convertNumberToHangul("21254031511936"), FormatUtil.convertNumberToHangul("21254031511936").equals("이십일조이천오백사십억삼천일백오십일만일천구백삼십육"));
assertTrue(FormatUtil.convertNumberToHangul("2125403151193610"), FormatUtil.convertNumberToHangul("2125403151193610").equals("이천일백이십오조사천삼십일억오천일백일십구만삼천육백일십"));
assertTrue(FormatUtil.convertNumberToHangul("5"), FormatUtil.convertNumberToHangul("5").equals("오"));
assertTrue(FormatUtil.convertNumberToHangul("54"), FormatUtil.convertNumberToHangul("54").equals("오십사"));
assertTrue(FormatUtil.convertNumberToHangul("544"), FormatUtil.convertNumberToHangul("544").equals("오백사십사"));
assertTrue(FormatUtil.convertNumberToHangul("5449"), FormatUtil.convertNumberToHangul("5449").equals("오천사백사십구"));
assertTrue(FormatUtil.convertNumberToHangul("54494"), FormatUtil.convertNumberToHangul("54494").equals("오만사천사백구십사"));
assertTrue(FormatUtil.convertNumberToHangul("544949"), FormatUtil.convertNumberToHangul("544949").equals("오십사만사천구백사십구"));
assertTrue(FormatUtil.convertNumberToHangul("5449494"), FormatUtil.convertNumberToHangul("5449494").equals("오백사십사만구천사백구십사"));
assertTrue(FormatUtil.convertNumberToHangul("54494945"), FormatUtil.convertNumberToHangul("54494945").equals("오천사백사십구만사천구백사십오"));
assertTrue(FormatUtil.convertNumberToHangul("544949459"), FormatUtil.convertNumberToHangul("544949459").equals("오억사천사백구십사만구천사백오십구"));
assertTrue(FormatUtil.convertNumberToHangul("5449494599"), FormatUtil.convertNumberToHangul("5449494599").equals("오십사억사천구백사십구만사천오백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("54494945999"), FormatUtil.convertNumberToHangul("54494945999").equals("오백사십사억구천사백구십사만오천구백구십구"));
assertTrue(FormatUtil.convertNumberToHangul("544949459993"), FormatUtil.convertNumberToHangul("544949459993").equals("오천사백사십구억사천구백사십오만구천구백구십삼"));
assertTrue(FormatUtil.convertNumberToHangul("5449494599937"), FormatUtil.convertNumberToHangul("5449494599937").equals("오조사천사백구십사억구천사백오십구만구천구백삼십칠"));
assertTrue(FormatUtil.convertNumberToHangul("54494945999376"), FormatUtil.convertNumberToHangul("54494945999376").equals("오십사조사천구백사십구억사천오백구십구만구천삼백칠십육"));
assertTrue(FormatUtil.convertNumberToHangul("544949459993767"), FormatUtil.convertNumberToHangul("544949459993767").equals("오백사십사조구천사백구십사억오천구백구십구만삼천칠백육십칠"));
assertTrue(FormatUtil.convertNumberToHangul("5449494599937670"), FormatUtil.convertNumberToHangul("5449494599937670").equals("오천사백사십구조사천구백사십오억구천구백구십삼만칠천육백칠십"));
assertTrue(FormatUtil.convertNumberToHangul("9"), FormatUtil.convertNumberToHangul("9").equals("구"));
assertTrue(FormatUtil.convertNumberToHangul("91"), FormatUtil.convertNumberToHangul("91").equals("구십일"));
assertTrue(FormatUtil.convertNumberToHangul("917"), FormatUtil.convertNumberToHangul("917").equals("구백일십칠"));
assertTrue(FormatUtil.convertNumberToHangul("9172"), FormatUtil.convertNumberToHangul("9172").equals("구천일백칠십이"));
assertTrue(FormatUtil.convertNumberToHangul("91727"), FormatUtil.convertNumberToHangul("91727").equals("구만일천칠백이십칠"));
assertTrue(FormatUtil.convertNumberToHangul("917275"), FormatUtil.convertNumberToHangul("917275").equals("구십일만칠천이백칠십오"));
assertTrue(FormatUtil.convertNumberToHangul("9172756"), FormatUtil.convertNumberToHangul("9172756").equals("구백일십칠만이천칠백오십육"));
assertTrue(FormatUtil.convertNumberToHangul("91727565"), FormatUtil.convertNumberToHangul("91727565").equals("구천일백칠십이만칠천오백육십오"));
assertTrue(FormatUtil.convertNumberToHangul("917275654"), FormatUtil.convertNumberToHangul("917275654").equals("구억일천칠백이십칠만오천육백오십사"));
assertTrue(FormatUtil.convertNumberToHangul("9172756547"), FormatUtil.convertNumberToHangul("9172756547").equals("구십일억칠천이백칠십오만육천오백사십칠"));
assertTrue(FormatUtil.convertNumberToHangul("91727565478"), FormatUtil.convertNumberToHangul("91727565478").equals("구백일십칠억이천칠백오십육만오천사백칠십팔"));
assertTrue(FormatUtil.convertNumberToHangul("917275654786"), FormatUtil.convertNumberToHangul("917275654786").equals("구천일백칠십이억칠천오백육십오만사천칠백팔십육"));
assertTrue(FormatUtil.convertNumberToHangul("9172756547862"), FormatUtil.convertNumberToHangul("9172756547862").equals("구조일천칠백이십칠억오천육백오십사만칠천팔백육십이"));
assertTrue(FormatUtil.convertNumberToHangul("91727565478625"), FormatUtil.convertNumberToHangul("91727565478625").equals("구십일조칠천이백칠십오억육천오백사십칠만팔천육백이십오"));
assertTrue(FormatUtil.convertNumberToHangul("917275654786251"), FormatUtil.convertNumberToHangul("917275654786251").equals("구백일십칠조이천칠백오십육억오천사백칠십팔만육천이백오십일"));
assertTrue(FormatUtil.convertNumberToHangul("9172756547862510"), FormatUtil.convertNumberToHangul("9172756547862510").equals("구천일백칠십이조칠천오백육십오억사천칠백팔십육만이천오백일십"));
assertTrue(FormatUtil.convertNumberToHangul("2"), FormatUtil.convertNumberToHangul("2").equals("이"));
assertTrue(FormatUtil.convertNumberToHangul("23"), FormatUtil.convertNumberToHangul("23").equals("이십삼"));
assertTrue(FormatUtil.convertNumberToHangul("231"), FormatUtil.convertNumberToHangul("231").equals("이백삼십일"));
assertTrue(FormatUtil.convertNumberToHangul("2313"), FormatUtil.convertNumberToHangul("2313").equals("이천삼백일십삼"));
assertTrue(FormatUtil.convertNumberToHangul("23139"), FormatUtil.convertNumberToHangul("23139").equals("이만삼천일백삼십구"));
assertTrue(FormatUtil.convertNumberToHangul("231393"), FormatUtil.convertNumberToHangul("231393").equals("이십삼만일천삼백구십삼"));
assertTrue(FormatUtil.convertNumberToHangul("2313937"), FormatUtil.convertNumberToHangul("2313937").equals("이백삼십일만삼천구백삼십칠"));
assertTrue(FormatUtil.convertNumberToHangul("23139374"), FormatUtil.convertNumberToHangul("23139374").equals("이천삼백일십삼만구천삼백칠십사"));
assertTrue(FormatUtil.convertNumberToHangul("231393742"), FormatUtil.convertNumberToHangul("231393742").equals("이억삼천일백삼십구만삼천칠백사십이"));
assertTrue(FormatUtil.convertNumberToHangul("2313937424"), FormatUtil.convertNumberToHangul("2313937424").equals("이십삼억일천삼백구십삼만칠천사백이십사"));
assertTrue(FormatUtil.convertNumberToHangul("23139374247"), FormatUtil.convertNumberToHangul("23139374247").equals("이백삼십일억삼천구백삼십칠만사천이백사십칠"));
assertTrue(FormatUtil.convertNumberToHangul("231393742474"), FormatUtil.convertNumberToHangul("231393742474").equals("이천삼백일십삼억구천삼백칠십사만이천사백칠십사"));
assertTrue(FormatUtil.convertNumberToHangul("2313937424745"), FormatUtil.convertNumberToHangul("2313937424745").equals("이조삼천일백삼십구억삼천칠백사십이만사천칠백사십오"));
assertTrue(FormatUtil.convertNumberToHangul("23139374247453"), FormatUtil.convertNumberToHangul("23139374247453").equals("이십삼조일천삼백구십삼억칠천사백이십사만칠천사백오십삼"));
assertTrue(FormatUtil.convertNumberToHangul("231393742474532"), FormatUtil.convertNumberToHangul("231393742474532").equals("이백삼십일조삼천구백삼십칠억사천이백사십칠만사천오백삼십이"));
assertTrue(FormatUtil.convertNumberToHangul("2313937424745320"), FormatUtil.convertNumberToHangul("2313937424745320").equals("이천삼백일십삼조구천삼백칠십사억이천사백칠십사만오천삼백이십"));
}
}