Skip to content

Instantly share code, notes, and snippets.

View mabdi's full-sized avatar
😷

Mehrdad Abdi mabdi

😷
  • Universitet Antwerpen
  • Belgium
View GitHub Profile
'From Pharo8.0.0 of 22 January 2020 [Build information: Pharo-8.0.0+build.1124.sha.0932da82f08175e906b0e2a8052120c823374e9f (64 Bit)] on 14 October 2020 at 4:11:35.471435 pm'!
RSUMLClassBuilderTest subclass: #RSUMLClassBuilderTest613
instanceVariableNames: ''
classVariableNames: ''
package: 'SmallAmpFinalClasses'!
!RSUMLClassBuilderTest613 methodsFor: 'as yet unclassified' stamp: 'Mehrdad 10/9/2020 17:38'!
testBasic_amp
"I test correctness of:
[| tag delay x exec_pr semaphorExecutor executor watcher |
x := 0.
tag := self.
delay := 5 seconds asDelay.
exec_pr := Processor activePriority - 10.
self traceCr: Time now print24.
semaphorExecutor := Semaphore new.
executor := [
[[ delay wait.
| cls n_super methods tmethods allasserts allStatements locs loc_q1_med_q3 asserts asserts_q1|
"Metacello new
baseline: 'Statistics';
repository: 'github://ctSkennerton/Pharo-Statistics/src';
load.
SortedCollection compile: 'quantile: aFloat
| n j lambda |
n := self size.