diff --git a/src/Math-Random/PMLaplaceGenerator.class.st b/src/Math-Numerical/PMLaplaceGenerator.class.st similarity index 80% rename from src/Math-Random/PMLaplaceGenerator.class.st rename to src/Math-Numerical/PMLaplaceGenerator.class.st index 738e7634f..4976c9284 100644 --- a/src/Math-Random/PMLaplaceGenerator.class.st +++ b/src/Math-Numerical/PMLaplaceGenerator.class.st @@ -11,9 +11,17 @@ Class { 'laplaceDistribution', 'next' ], - #category : #'Math-Random' + #category : #'Math-Numerical' } +{ #category : #testing } +PMLaplaceGenerator class >> isDeprecated [ + + "I am just a wrapper for Laplace distribution. The Distribution should be used directly as it is." + + ^ true +] + { #category : #'instance creation' } PMLaplaceGenerator class >> shape: peakValue scale: falloffValue [ diff --git a/src/Math-Tests-Random/PMLaplaceGeneratorTest.class.st b/src/Math-Tests-Random/PMLaplaceGeneratorTest.class.st deleted file mode 100644 index 2573b654e..000000000 --- a/src/Math-Tests-Random/PMLaplaceGeneratorTest.class.st +++ /dev/null @@ -1,12 +0,0 @@ -Class { - #name : #PMLaplaceGeneratorTest, - #superclass : #TestCase, - #category : #'Math-Tests-Random' -} - -{ #category : #tests } -PMLaplaceGeneratorTest >> testPeekIsIdempotent [ - | g | - g := PMLaplaceGenerator shape: 0.5 scale: 0.3. - self assert: g peek equals: g peek -]