3(b).- For the following function, describe five different test cases andfor each describe the type of test case it represents. Theapplication is based on Myers’ triangle problem [5]:
IIx I y and z are the lengths of the sides of atriangle. This funct ion
classifies the
Iitriangle and returns either ” scalene” (all sidesunequal),
I Iisosceles” (two sides
Ilequal) or ” equilateral ” (all sides equal). If x, y and zdon’t
form a triangle
II(Le. either (a) x, y or z is <= zero, or (b) (x+y) < z) thenull
str ing is returned
IIAssumption: x, yandzareinascendingorder(i.e.x<=y<=z)soyou
do not need
IIto test for this
char * tr iangle (int x, int y, int
OR
OR