Skip to content

Commit

Permalink
add some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke committed Jun 5, 2022
1 parent 2e06a82 commit 64a03e8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tests
testAsString

| title |
title := 'a fancy label'.
self assert: nil equals: label asString.
label title: title.
self assert: title equals: label asString.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tests
testHash

| id |
id := 123456789.
self assert: 256 equals: label hash.
label id: id.
self assert: 123456789 equals: label hash.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"instance" : {
"setUp" : "lo 5/23/2022 16:51",
"tearDown" : "lo 5/23/2022 16:51",
"testAsString" : "lo 6/5/2022 15:22",
"testColor" : "lo 5/23/2022 16:53",
"testDescription" : "lo 5/23/2022 16:57",
"testHash" : "lo 6/5/2022 15:24",
"testId" : "lo 5/23/2022 16:55",
"testJsonWriteOn" : "lo 5/23/2022 17:24",
"testTitle" : "lo 5/23/2022 16:56" } }

0 comments on commit 64a03e8

Please sign in to comment.