Skip to content

Commit 38a1a46

Browse files
committed
TESTFIX: Change spinnerSelection values in tests (#68)
* STCC-120: Update Class Hierarchy Excerpt * TESTFIX: Change spinnerSelection values in tests
1 parent 9f49399 commit 38a1a46

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/default.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Scratch2Catrobat Converter
44
short_name: S2CC
55
version: 0.9.1
66
build_name: Aegean cat
7-
build_number: 919
7+
build_number: 920
88

99
;-------------------------------------------------------------------------------
1010
[CATROBAT]

src/scratchtocatrobat/converter/test_converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2344,15 +2344,15 @@ def test_can_convert_go_to_sprite_block_with_mouse_position(self):
23442344
scratch_block = ["gotoSpriteOrMouse:", test_sprite_name]
23452345
[catr_brick] = self.block_converter._catrobat_bricks_from(scratch_block, DUMMY_CATR_SPRITE)
23462346
assert isinstance(catr_brick, catbricks.GoToBrick)
2347-
assert catr_brick.spinnerSelection == 0
2347+
assert catr_brick.spinnerSelection == 80
23482348

23492349
#gotoSpriteOrMouse:
23502350
def test_can_convert_go_to_sprite_block_with_random_position(self):
23512351
test_sprite_name = "_random_"
23522352
scratch_block = ["gotoSpriteOrMouse:", test_sprite_name]
23532353
[catr_brick] = self.block_converter._catrobat_bricks_from(scratch_block, DUMMY_CATR_SPRITE)
23542354
assert isinstance(catr_brick, catbricks.GoToBrick)
2355-
assert catr_brick.spinnerSelection == 1
2355+
assert catr_brick.spinnerSelection == 81
23562356

23572357
#pointTowards:
23582358
def test_can_convert_point_towards_block_basic(self):

0 commit comments

Comments
 (0)