forked from pharo-contributions/mutalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMTLiteralIntegersIncreaseOperatorTest.class.st
51 lines (37 loc) · 1.16 KB
/
MTLiteralIntegersIncreaseOperatorTest.class.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
"
A LiteralIntegersIncreaseOperatorTest is a test class for testing the behavior of LiteralIntegersIncreaseOperator
"
Class {
#name : 'MTLiteralIntegersIncreaseOperatorTest',
#superclass : 'MTMutantOperatorTest',
#category : 'MuTalk-Tests',
#package : 'MuTalk-Tests'
}
{ #category : 'accessing' }
MTLiteralIntegersIncreaseOperatorTest >> methodWithNoSenders [
^ Dictionary new at: #hello put: 'Hi'
]
{ #category : 'accessing' }
MTLiteralIntegersIncreaseOperatorTest >> methodWithOneSender [
^ Dictionary new at: 1 ifAbsent: [ self error: 'hi' ]
]
{ #category : 'accessing' }
MTLiteralIntegersIncreaseOperatorTest >> methodWithOneSenderModified [
^ Dictionary new at: 2 ifAbsent: [ self error: 'hi' ]
]
{ #category : 'accessing' }
MTLiteralIntegersIncreaseOperatorTest >> methodWithTwoSenders [
^ 1 >= 2
]
{ #category : 'accessing' }
MTLiteralIntegersIncreaseOperatorTest >> methodWithTwoSendersModifiedFirst [
^ 2 >= 2
]
{ #category : 'accessing' }
MTLiteralIntegersIncreaseOperatorTest >> methodWithTwoSendersModifiedSecond [
^ 1 >= 3
]
{ #category : 'accessing' }
MTLiteralIntegersIncreaseOperatorTest >> operator [
^ MTLiteralIntegersIncreaseOperator new
]