Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Amal_test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
amaal
Amal_test
Commits
cc4803ab
Commit
cc4803ab
authored
4 years ago
by
Amal Alghamdi
Browse files
Options
Downloads
Patches
Plain Diff
add file
parent
8b1e58aa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example.py
+16
-0
16 additions, 0 deletions
example.py
with
16 additions
and
0 deletions
example.py
0 → 100644
+
16
−
0
View file @
cc4803ab
def
add
(
a
,
b
):
return
a
+
b
def
test_add
():
assert
add
(
2
,
3
)
==
5
assert
add
(
'
space
'
,
'
ship
'
)
==
'
spaceship
'
def
subtract
(
a
,
b
):
return
a
+
b
# <--- fix this in step 8
# uncomment the following test in step 5
#def test_subtract():
# assert subtract(2, 3) == -1
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