IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 20 years ago

#182 closed defect (fixed)

Arithmetic tests required for path coverage

Reported by: Paul Price Owned by: Eric.VanAlst@…
Priority: high Milestone:
Component: math Version: 0.2.2
Severity: normal Keywords:
Cc:

Description

The below branches were not touched during a FullUnitTest, according to path
coverage analysis by gcov.

psScalar.c:
psScalarCopy
psScalarFree

psVector.c:
L214 psVectorSort on U8,U16,U32,U64,S8,S16,S32,S64,F64,C32,C64
L309 psVectorSortIndex on U8,U16,U32,U64,S8,S16,S32,S64,F64,C32,C64

psMatrixVectorArithmetic.c:
L477 First operand is scalar; or second operand is scalar or vector
L783 Unary operator on a scalar

Change History (5)

comment:1 by robert.desonia@…, 22 years ago

Owner: changed from robert.desonia@… to calvin.harman@…

comment:2 by Eric.VanAlst@…, 22 years ago

Owner: changed from calvin.harman@… to Eric.VanAlst@…

comment:3 by Eric.VanAlst@…, 22 years ago

Resolution: fixed
Status: newclosed

Created new unit tests and placed in file tst_psScalar.c

Updated unit tests in tst_psVectorSort_01.c, tst_psVector_Sort_02.c,
tst_psVector_Sort_03.c, tst_psVector_Sort_04.c to increase the types tested.
(The complex numbers are not relevant since the SDR did not specify sorting for
complex types.)

Updated unit tests in tst_psMatrixVectorArithmetic01.c and created new tests in
file tst_psMatrixVectorArithmetic04.c

All tests verified and check in to CVS repository.

comment:4 by Paul Price, 20 years ago

Keywords: VERIFIED added

Bug has been resolved.... closing.

comment:5 by Paul Price, 20 years ago

Keywords: VERIFIED removed

Bugs have been fixed... closing.

Note: See TracTickets for help on using tickets.