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
R3
school
git
basic-practice
Commits
ead1cebe
Commit
ead1cebe
authored
Jan 28, 2019
by
Guadalupe Garcia
Browse files
Final-delete files
parent
f301ce97
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/firstCommit/addTwoNumbers_myName.m
deleted
100644 → 0
View file @
f301ce97
function
c
=
addTwoNumbers_myName
(
a
,
b
)
% addTwoNumbers_myName(a, b) returns the sum of a and b
c
=
a
-
b
;
end
src/secondCommit/multiplyTwoNumbers_myName.m
deleted
100644 → 0
View file @
f301ce97
function
c
=
multiplyTwoNumbers_myName
(
a
,
b
)
% multiplyTwoNumbers_myName(a, b) returns the product of a and b
c
=
a
/
b
;
end
test/suite/test_myName.m
deleted
100644 → 0
View file @
f301ce97
% Test file
c
=
addTwoNumbers_myName
(
1
,
2
)
% test if the addition function works as expected
assert
(
c
==
3
)
% d = multiplyTwoNumbers_myName(c, c)
% test if the multiplication function works as expected
% assert(d == 9)
% Test for the homework
% test my sqrt function
% 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