Gitlab is now using as it's primary address. Please update your bookmarks. FAQ.

Commit 38abd7cd authored by Beatriz Garcia's avatar Beatriz Garcia
Browse files

Update test_Beatriz.m

parent 7ea572d0
......@@ -5,11 +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(3, 3)
%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))
assert(sqrt_Beatriz(5) == sqrt(25))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment