Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Nikola de Lange
git.practice
Commits
be8c0751
Commit
be8c0751
authored
Jan 20, 2019
by
Laurent Heirendt
✈
Browse files
cleaning up
parent
ebde3da4
Changes
11
Hide whitespace changes
Inline
Side-by-side
firstCommit/addTwoNumbers_Lemmer.m
deleted
100644 → 0
View file @
ebde3da4
function
c
=
addTwoNumbers
(
a
,
b
)
% addTwoNumbers(a, b) returns the sum of a and b
c
=
a
+
b
;
end
firstCommit/addTwoNumbers_StefaniaMagnusdottir.m
deleted
100644 → 0
View file @
ebde3da4
function
c
=
addTwoNumbers_StefaniaMagnusdottir
(
a
,
b
)
% addTwoNumbers(a, b) returns the sum of a and b
c
=
a
+
b
;
end
firstCommit/addTwoNumbers_hulda.m
deleted
100644 → 0
View file @
ebde3da4
function
c
=
addTwoNumbers_hulda
(
a
,
b
)
% addTwoNumbers(a, b) returns the sum of a and b
c
=
a
+
b
;
end
firstCommit/addTwoNumbers_jenn.m
deleted
100644 → 0
View file @
ebde3da4
function
c
=
addTwoNumbers
(
a
,
b
)
% addTwoNumbers(a, b) returns the sum of a and b
c
=
a
+
b
;
end
firstCommit/addTwoNumbers_miguel.m
deleted
100644 → 0
View file @
ebde3da4
function
c
=
addTwoNumbers_miguel
(
a
,
b
)
% addTwoNumbers(a, b) returns the sum of a and b
c
=
a
+
b
;
end
secondCommit/multiplyTwoNumbers_StefaniaMagnusdottir.m
deleted
100644 → 0
View file @
ebde3da4
function
c
=
multiplyTwoNumbers_StefaniaMagnusdottir
(
a
,
b
)
% multiplyTwoNumbers(a, b) returns the product of a and b
c
=
a
*
b
;
end
secondCommit/multiplyTwoNumbers_jenn.m
deleted
100644 → 0
View file @
ebde3da4
function
c
=
multiplyTwoNumbers
(
a
,
b
)
% multiplyTwoNumbers(a, b) returns the product of a and b
c
=
a
*
b
;
end
sqrt_jenn.m
deleted
100644 → 0
View file @
ebde3da4
function s = sqrt_jenn(a)
s = sqrt(a);
end
sqrt_laurent.m
deleted
100644 → 0
View file @
ebde3da4
function
s
=
sqrt_laurent
(
a
)
s
=
sqrt
(
a
);
% my comment
end
test.m
View file @
be8c0751
...
...
@@ -4,7 +4,7 @@ addpath(genpath(pwd)) % add this folder and all subfolders to the path
c
=
addTwoNumbers_myName
(
1
,
1
);
% 1 + 1
d
=
multiplyTwoNumbers_myName
(
c
,
c
);
% 2 * 2
d
=
multiplyTwoNumbers_myName
(
c
,
c
);
% 2 * 2
% test my sqrt function
assert
(
sqrt_myName
(
d
)
==
sqrt
(
d
))
test_jenn.m
deleted
100644 → 0
View file @
ebde3da4
% Test file
addpath
(
genpath
(
pwd
))
% add this folder and all subfolders to the path
c
=
addTwoNumbers_jenn
(
1
,
1
);
% 1 + 1
d
=
multiplyTwoNumbers_jenn
(
c
,
c
);
% 2 * 2
% test my sqrt function
assert
(
sqrt_jenn
(
d
)
==
sqrt
(
d
))
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment