Commit 05f432b4 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

Merge branch 'add-2-numbers' into 'develop'

fix bug

See merge request R3school/git.practice!39
parents 48dd9cff 62c5bed8
Pipeline #8535 failed with stage
function c = addTwoNumbers_myName(a, b)
% addTwoNumbers_myName(a, b) returns the sum of a and b
c = a - b;
c = a + b;
% Test file
c = addTwoNumbers_myName(1, 2)
c = addTwoNumbers_laurent(1, 2)
% test if the addition function works as expected
assert(c == 3)
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