Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Cooperative Cuisine Environment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
CoCoSy
Cooperative Cuisine Environment
Commits
f2454cd9
Commit
f2454cd9
authored
10 months ago
by
Fabian Heinrich
Browse files
Options
Downloads
Patches
Plain Diff
Auto stylecheck
parent
a983d27e
No related branches found
No related tags found
1 merge request
!96
More hook updates
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_counter.py
+3
-3
3 additions, 3 deletions
tests/test_counter.py
with
3 additions
and
3 deletions
tests/test_counter.py
+
3
−
3
View file @
f2454cd9
...
@@ -57,7 +57,7 @@ def test_serving_window():
...
@@ -57,7 +57,7 @@ def test_serving_window():
),
"
ServingWindow should return the item for not ordered meals.
"
),
"
ServingWindow should return the item for not ordered meals.
"
assert
(
assert
(
serving_window
.
pick_up
()
is
None
serving_window
.
pick_up
()
is
None
),
"
Player should not be able to pick something from the ServingWindow.
"
),
"
Player should not be able to pick something from the ServingWindow.
"
...
@@ -78,7 +78,7 @@ def test_dispenser():
...
@@ -78,7 +78,7 @@ def test_dispenser():
dispenser
.
occupied_by
.
name
==
"
MyIngredient
"
dispenser
.
occupied_by
.
name
==
"
MyIngredient
"
),
"
Initialized dispenser should be occupied by dispensing item
"
),
"
Initialized dispenser should be occupied by dispensing item
"
assert
(
assert
(
dispenser
.
pick_up
().
name
==
"
MyIngredient
"
dispenser
.
pick_up
().
name
==
"
MyIngredient
"
),
"
Picked up item should be the dispensing item
"
),
"
Picked up item should be the dispensing item
"
assert
(
assert
(
dispenser
.
occupied_by
is
not
None
dispenser
.
occupied_by
is
not
None
...
@@ -96,6 +96,6 @@ def test_dispenser():
...
@@ -96,6 +96,6 @@ def test_dispenser():
dispenser
.
pick_up
()
dispenser
.
pick_up
()
),
"
Config undo_dispenser_pickup==True should allow the player to drop off picked up items
"
),
"
Config undo_dispenser_pickup==True should allow the player to drop off picked up items
"
assert
(
assert
(
dispenser
.
drop_off
(
dispenser
.
pick_up
())
is
None
dispenser
.
drop_off
(
dispenser
.
pick_up
())
is
None
),
"
Config undo_dispenser_pickup==True should allow the player to drop off picked up items
"
),
"
Config undo_dispenser_pickup==True should allow the player to drop off picked up items
"
# check combine?
# check combine?
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment