|
|
I hope you
are familiar
with the concept of sine
waves. Idea behind this test
is to make you familiar with
the boundary value
conditions. For people not
familiar with Sine wave, this is how a sine
wave looks.
|
Now in this figure
horizontal scale represent
values for the X-Axis and
vertical scale represent the
values for Y-Axis. Imagine you have
a function, which accepts
one input which is value of
the X-Axis and based on the
value of X-Axis, this
function gives value of Y-Axis
based on the sine wave
drawn above. For
example, if you give value of X-Axis as 2,
function will return 275.
Similarly, if you give value
of X-Axis as 12 function
will return - 275
(negative). Now based on
this information you have to
write boundary conditions
for this function. For the
purpose of this puzzle, you
can assume that values for
the X-Axis can be given in
the increments of one and
decimals are not allowed.
Remember, TestingGeek is not
interested in all the test
cases but test cases related
to boundary values only.
You can write your test
cases here, by giving values
of X-Axis and evaluate your
test data. Once you are done
with all the test cases you
can think of, check your
performance. If you want to
restart your test anytime,
just click on the restart test button.
TestingGeek has not
covered all the possible
test cases here as idea is
to give you sufficient
information to get started.
Let me know if you like this
approach by giving your
feedback.
You can also suggest more
problems like this. If you
are not familiar with the
concept of boundary values,
you might want to make your
self familiar with
boundary values. Have
you checked our
Triangle Test?
|