Commit 2a8ffeab authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

change of test

parent 5836b527
% Test file
addpath(genpath(pwd)) % add this folder and all subfolders to the path
addpath(genpath('src/')) % add this folder and all subfolders to the path
c = addTwoNumbers_myName(1, 1); % 1 + 1
c = addTwoNumbers_myName(1, 2)
d = multiplyTwoNumbers_myName(c, c); % 2 * 2
d = multiplyTwoNumbers_myName(c, c)
% test my sqrt function
assert(sqrt_myName(d) == sqrt(d))
% assert(sqrt_myName(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