Skip to content

Commit

Permalink
strCaptalize
Browse files Browse the repository at this point in the history
  • Loading branch information
gmoromisato committed Aug 7, 2017
1 parent 58b50bc commit 96479a5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Game/TLisp/LanguageUnitTest.tlisp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
; percent. But in practice, you should use a single percent where needed.

{ code: '(fmtCompose "%%") result: "%" }

; strCapitalize

{ code: '(strCapitalize "test") result: "Test" }
{ code: '(strCapitalize "this is a test") result: "This is a test" }
{ code: '(strCapitalize "") result: "" }
{ code: '(strCapitalize Nil) result: "" }

))

(debugUnitTest "Language Unit Test" TEST_SUITE)
Expand Down

0 comments on commit 96479a5

Please sign in to comment.