Commit b4d0ff6f authored by Susheel Busi's avatar Susheel Busi
Browse files

edited Test.m file

parent 2f65ec3c
% Test file
c = addTwoNumbers_BUSI(1, 2)
% test if the addition function works as expected
assert(c == 3)
d = multiplyTwoNumbers_BUSI(c, c)
% test if the multiplication function works as expected
assert(d == 9)
% Test for the homework
% test my sqrt function
assert(sqrt_BUSI(d) == sqrt(d))
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