diff --git a/test.m b/test.m new file mode 100644 index 0000000000000000000000000000000000000000..0291f9f3c1081431704428798bd05991879f710d --- /dev/null +++ b/test.m @@ -0,0 +1,10 @@ +% 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))