Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vanja Vlasov
git.practice
Commits
0f6add94
Commit
0f6add94
authored
Jan 23, 2019
by
Laurent Heirendt
✈
Browse files
changing test on purpose
parent
56858c1f
Changes
1
Show whitespace changes
Inline
Side-by-side
test/test_myName.m
View file @
0f6add94
...
@@ -4,7 +4,13 @@ addpath(genpath('src/')) % add this folder and all subfolders to the path
...
@@ -4,7 +4,13 @@ addpath(genpath('src/')) % add this folder and all subfolders to the path
c
=
addTwoNumbers_myName
(
1
,
2
)
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
)
% test my sqrt function
% 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