Commit 8d648e50 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

Merge branch 'minor_changes' into 'develop'

Minor changes

See merge request !1
parents a57d81fe 4b645205
# `git` training: repo for pratice and homework
function c = addTwoNumbers(a, b)
% addTwoNumbers(a, b) returns the sum of a and b
% c = a + b
% c = a + b;
end
function c = multiplyTwoNumbers(a, b)
% multiplyTwoNumbers(a, b) returns the product of a and b
% c = a * b
% c = a * b;
end
% 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))
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