• DocumentCode
    1997930
  • Title

    Algebraic software testing in vector spaces of functions

  • Author

    Cain, Thomas R. ; Park, E.K.

  • Author_Institution
    Dept. of Electr. Eng. & Comput. Sci., Maryland Univ., Baltimore, MD, USA
  • fYear
    1996
  • fDate
    21-23 Aug 1996
  • Firstpage
    234
  • Lastpage
    239
  • Abstract
    The problem of determining whether two programs compute the same function is undecidable. We restrict the class of functions that a program can compute to be a finite dimensional vector space, enabling the problem to become tractable. We prove a theorem showing that the number of test points needed to distinguish any such programs is equal to the dimension of the vector space of functions which they compute, thus generalizing previous results of Howden. Our result unifies certain existing software testing theory and explains the successes and failures of one existing method for selecting test data called perturbation testing. We apply the theorem to obtain three results on the number of test points required to test in vector spaces of Boolean functions and polynomials. First, the Vandermonde matrix used together with our theorem yields the classical result that a polynomial of degree at most n is determined by n+1 points. Second, in vector spaces of Boolean functions we obtain useful results when the degree of the Boolean function is less than the number of inputs to the function. Third, we apply our theorem to describe a technique for testing nonpolynomial, real valued functions
  • Keywords
    Boolean functions; decidability; linear algebra; program testing; Boolean functions; Vandermonde matrix; algebraic software testing; finite dimensional vector space; perturbation testing; real valued functions; software testing theory; test data; test points; undecidable; vector space; vector spaces; Boolean functions; Computer science; Constraint theory; Galois fields; Linear algebra; Polynomials; Software testing; Sufficient conditions;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 1996. COMPSAC '96., Proceedings of 20th International
  • Conference_Location
    Seoul
  • ISSN
    0730-3157
  • Print_ISBN
    0-8186-7579-9
  • Type

    conf

  • DOI
    10.1109/CMPSAC.1996.544171
  • Filename
    544171