Skip to content
Snippets Groups Projects
Commit 4b645205 authored by Sylvain Arreckx's avatar Sylvain Arreckx
Browse files

add a test file for homework.

parent de68128c
No related branches found
No related tags found
No related merge requests found
test.m 0 → 100644
% Test file
addpath(genpath(pwd)) % add this foldeand r all subfolders to the path
c = addTwoNumbers_syarra(1, 1); % 1 + 1
d = multiplyTwoNumbers_syarra(c, c); % 2 * 2
% test my sqrt function
assert(sqrt_syarra(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