Skip to content
Snippets Groups Projects
Commit 37e7c48d authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'develop' into 'master'

Regular merge of develop

See merge request R3school/git.practice!38
parents a3ccc424 48dd9cff
No related branches found
No related tags found
No related merge requests found
...@@ -5,10 +5,11 @@ c = addTwoNumbers_myName(1, 2) ...@@ -5,10 +5,11 @@ c = addTwoNumbers_myName(1, 2)
% test if the addition function works as expected % test if the addition function works as expected
assert(c == 3) assert(c == 3)
d = multiplyTwoNumbers_myName(c, c) % d = multiplyTwoNumbers_myName(c, c)
% test if the multiplication function works as expected % test if the multiplication function works as expected
assert(d == 9) % assert(d == 9)
% Test for the homework
% test my sqrt function % test my sqrt function
assert(sqrt_myName(d) == sqrt(d)) % assert(sqrt_myName(d) == sqrt(d))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment