Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ahmad Reza Cheraghi
swarm-sim
Commits
fed1ec64
Commit
fed1ec64
authored
Mar 11, 2019
by
Ahmad Reza Cheraghi
Browse files
Update test_interfaces.py
parent
932597ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
scenario/test_interfaces.py
View file @
fed1ec64
"""
A sim is created that has particles formated in a ring structure that is up to 5 hops big
"""
def
create_
scenario
(
sim
):
def
scenario
(
sim
):
sim
.
add_particle
(
0
,
0
,
color
=
3
)
sim
.
add_tile
(
1.0
,
0.0
)
sim
.
add_location
(
3.0
,
2.0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment