public class PercentConverterTest
extends java.lang.Object
| Constructor and Description |
|---|
PercentConverterTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPercentIfItAbsent() |
void |
doNotChangesIfFormatIsCorrect() |
void |
doNotChangesIfFormatIsCorrectForFractional() |
void |
remove3ExtraSpaceBetweenAnswerAndPercentIfItSpaceExists() |
void |
remove3ExtraSpaceBetweenAnswerAndPercentIfItSpaceExistsAndInteger() |
void |
removeExtraSpaceBetweenAnswerAndPercentIfItSpaceExists() |
void |
replacePercentWordOnSymbolItExists() |
void |
replacePercentWordWithCapitalLetterOnSymbolItExists() |
void |
throwExceptionIfAnswerIsEmpty() |
void |
throwExceptionIfAnswerIsNotNumber() |
void |
throwExceptionIfAnswerIsNull() |
void |
throwExceptionIfAnswerIsThreeSpaces() |
public void throwExceptionIfAnswerIsNull()
public void throwExceptionIfAnswerIsEmpty()
public void throwExceptionIfAnswerIsThreeSpaces()
public void throwExceptionIfAnswerIsNotNumber()
public void doNotChangesIfFormatIsCorrect()
public void doNotChangesIfFormatIsCorrectForFractional()
public void addPercentIfItAbsent()
public void removeExtraSpaceBetweenAnswerAndPercentIfItSpaceExists()
public void remove3ExtraSpaceBetweenAnswerAndPercentIfItSpaceExists()
public void remove3ExtraSpaceBetweenAnswerAndPercentIfItSpaceExistsAndInteger()
public void replacePercentWordOnSymbolItExists()
public void replacePercentWordWithCapitalLetterOnSymbolItExists()