From 1a9f8948bf2aef359b5b2aada68432545091d132 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 6 Oct 2025 12:45:37 +0200 Subject: [PATCH] Remove challanges Since they are partly broken because the challenge description itself points to not existing internet resources. --- src/Dice/DieHandleTest.class.st | 2 +- src/MyCounter/Challenge0.class.st | 19 ------------------- src/MyCounter/Challenge1.class.st | 22 ---------------------- 3 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 src/MyCounter/Challenge0.class.st delete mode 100644 src/MyCounter/Challenge1.class.st diff --git a/src/Dice/DieHandleTest.class.st b/src/Dice/DieHandleTest.class.st index ed20131..ac6bc55 100644 --- a/src/Dice/DieHandleTest.class.st +++ b/src/Dice/DieHandleTest.class.st @@ -51,7 +51,7 @@ DieHandleTest >> testRoll [ { #category : #tests } DieHandleTest >> testSimpleHandle [ - self assert: 2 D20 diceNumber equals: 2 + self assert: 2 D20 equals: 2 ] { #category : #tests } diff --git a/src/MyCounter/Challenge0.class.st b/src/MyCounter/Challenge0.class.st deleted file mode 100644 index 3f9d519..0000000 --- a/src/MyCounter/Challenge0.class.st +++ /dev/null @@ -1,19 +0,0 @@ -Class { - #name : #Challenge0, - #superclass : #Object, - #instVars : [ - 'response' - ], - #category : #MyCounter -} - -{ #category : #actions } -Challenge0 >> fetch [ - - response := ZnEasy getPng: 'http://pharo.org/files/pharo.png'. -] - -{ #category : #actions } -Challenge0 >> open [ - response asMorph openInWorld -] diff --git a/src/MyCounter/Challenge1.class.st b/src/MyCounter/Challenge1.class.st deleted file mode 100644 index 63da009..0000000 --- a/src/MyCounter/Challenge1.class.st +++ /dev/null @@ -1,22 +0,0 @@ -Class { - #name : #Challenge1, - #superclass : #Object, - #instVars : [ - 'response' - ], - #category : #MyCounter -} - -{ #category : #actions } -Challenge1 >> fetch [ - |email url asHex| - email := MD5 new hashMessage: 'belka@caraus.de'. - asHex := email hex asString. - url := 'http://www.gravatar.com/avatar/', asHex, '.jpg'. - response := ZnEasy getJpeg: url -] - -{ #category : #actions } -Challenge1 >> open [ - response asMorph openInHand -]