Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
school
git
basic-practice
Commits
37e7c48d
Commit
37e7c48d
authored
Jan 23, 2019
by
Laurent Heirendt
✈
Browse files
Merge branch 'develop' into 'master'
Regular merge of develop See merge request R3school/git.practice!38
parents
a3ccc424
48dd9cff
Pipeline
#8472
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/suite/test_myName.m
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))
Write
Preview
Markdown
is supported
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