Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
git.practice
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Daniel Duarte
git.practice
Commits
37e7c48d
Commit
37e7c48d
authored
6 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'master'
Regular merge of develop See merge request R3school/git.practice!38
parents
a3ccc424
48dd9cff
Branches
master
Tags
v1.0.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/suite/test_myName.m
+4
-3
4 additions, 3 deletions
test/suite/test_myName.m
with
4 additions
and
3 deletions
test/suite/test_myName.m
+
4
−
3
View file @
37e7c48d
...
...
@@ -5,10 +5,11 @@ c = addTwoNumbers_myName(1, 2)
% test if the addition function works as expected
assert
(
c
==
3
)
d
=
multiplyTwoNumbers_myName
(
c
,
c
)
%
d = multiplyTwoNumbers_myName(c, c)
% test if the multiplication function works as expected
assert
(
d
==
9
)
%
assert(d == 9)
% Test for the homework
% test my sqrt function
assert
(
sqrt_myName
(
d
)
==
sqrt
(
d
))
%
assert(sqrt_myName(d) == sqrt(d))
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