Commit 473f13ad authored by Alice Oldano's avatar Alice Oldano
Browse files

test working correctly after necessary change done

parent 205f1b5b
% Test file
addpath('/Users/alice.oldano/myNewDirectory/practice/src/firstCommit')
addpath('/Users/alice.oldano/myNewDirectory/practice/src/secondCommit')
addpath('/Users/alice.oldano/myNewDirectory/practice/src/thirdCommit')
c = addTwoNumbers_AliceOldano(1, 2)
% test if the addition function works as expected
......@@ -11,5 +15,7 @@ d = multiplyTwoNumbers_AliceOldano(c, c)
assert(d == 9)
% Test for the homework
e = sqrt_AliceOldano(d)
% test my sqrt function
assert(sqrt_AliceOldano(d) == sqrt(d))
assert(sqrt_AliceOldano(d) == 4.5)
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