There is a rough but not direct relationship between a primitive and a test script. For example, there is a test script for each of + and +. and +: , with the script containing tests for the monad and the dyad. A test script avails itself of the full power of J so that a test which is quite comprehensive can be expressed with a few symbols. The foreigns 0!:2 and 0!:3 are essential.
----- Original Message ----- From: Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]> Date: Monday, September 25, 2006 6:46 pm Subject: Re: [Jgeneral] Intrigued by the Interpreter.... > Interesting....are 400 test scripts enough? > > >From the Vocabulary list there are atleast (30 symbols per > column)*(3columns)*(2 forms) = 180 symbols. Add to this the > foreign symbols. > I think the combinations that need to be tested are huge! Or is it > that the > 400 scripts test multiple combinations per script? How do you > reduce from > the huge number of combinations to some specific ones unless the > tests are > at some meta level that reduces the number to a manageable 400? > > The reason I am interested is that in reasonably huge software, > the number > of combinations are the killers for test cycles. I was wondering how > language's are validated since at the level of enterprise, the > usage of the > software tends to the complexity of a programming language. Of > course, the > level of formalism is different which could probably give programming > languages testing some advantage. > > My question is more to do with how can one reduce the test > combinations for > programing languages that ensures unlimited expression in the > language.Maybe I am asking a question that is already answered in > any compiler book. > Still some insights here would be interesting to listen. > > ~Yuva ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
