The Trunk: KernelTests-cmm.255.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: KernelTests-cmm.255.mcz

commits-2
Chris Muller uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-cmm.255.mcz

==================== Summary ====================

Name: KernelTests-cmm.255
Author: cmm
Time: 26 October 2013, 2:21:32.464 pm
UUID: dce2aefc-6d3f-4a55-bed7-19d90393828e
Ancestors: KernelTests-cmm.254

Consider valueWithAllPossibleArguments: special enough to inline, so it and its test are removed.

=============== Diff against KernelTests-cmm.254 ===============

Item was removed:
- ----- Method: BlockContextTest>>testValueWithAllPossibleArgs (in category 'tests - evaluating') -----
- testValueWithAllPossibleArgs
- | block  blockWithArg blockWith2Arg |
-
- block := [1].
- blockWithArg  := [:arg | arg].
- blockWith2Arg := [:arg1 :arg2 | {arg1. arg2}].
-
- self assert: (block valueWithAllPossibleArguments: #()) = 1.
- self assert: (block valueWithAllPossibleArguments: #(1)) = 1.
-
- self assert: (blockWithArg valueWithAllPossibleArguments: #()) = nil.
- self assert: (blockWithArg valueWithAllPossibleArguments: #(1)) = 1.
- self assert: (blockWithArg valueWithAllPossibleArguments: #(1 2)) = #(1 2).
-
- self assert: (blockWith2Arg valueWithAllPossibleArguments: #()) = {nil .nil}.
- self assert: (blockWith2Arg valueWithAllPossibleArguments: #(1)) =  {1 . nil}.
- self assert: (blockWith2Arg valueWithAllPossibleArguments: #(1 2)) =  #(1 2).
- self assert: (blockWith2Arg valueWithAllPossibleArguments: #(1 2 3)) = #(1 2).
-
-
- !