C# 클래스 TDD_Katas_project.TheWordWrapKata.WordWrap

파일 보기 프로젝트 열기: garora/TDD-Katas 1 사용 예제들

공개 메소드들

메소드 설명
Wrap ( string word, int wordLength ) : string

비공개 메소드들

메소드 설명
GetWrappedwordWithoutBlankSpacesAtStartOfNewLine ( string wrappedword ) : string
IsContainNewLine ( string word ) : bool
IsContainNullEmptyOrWhiteSpaces ( string word ) : bool
IsWhiteSpaceOrNewLine ( char wrd ) : bool
RemoveWhiteSpacesFromWrappedWord ( string wrappedword, int outCounter, int spaceCounter ) : string

메소드 상세

Wrap() 공개 정적인 메소드

public static Wrap ( string word, int wordLength ) : string
word string
wordLength int
리턴 string