Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
school
git
basic-practice
Commits
b4d0ff6f
Commit
b4d0ff6f
authored
Jan 25, 2019
by
Susheel Busi
Browse files
edited Test.m file
parent
2f65ec3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/suite/test_BUSI.m
0 → 100644
View file @
b4d0ff6f
% Test file
c
=
addTwoNumbers_BUSI
(
1
,
2
)
% test if the addition function works as expected
assert
(
c
==
3
)
d
=
multiplyTwoNumbers_BUSI
(
c
,
c
)
% test if the multiplication function works as expected
assert
(
d
==
9
)
% Test for the homework
% test my sqrt function
assert
(
sqrt_BUSI
(
d
)
==
sqrt
(
d
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment