From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f5bc,1d0b1da0843a9b79 X-Google-Attributes: gid10f5bc,public X-Google-Thread: 103376,1d0b1da0843a9b79 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,1d0b1da0843a9b79 X-Google-Attributes: gidf43e6,public From: Mike Young Subject: Re: ANNOUNCE: `tg', a test driver generator for Ada programs Date: 1996/05/11 Message-ID: <31952AC5.5087@mcs.com>#1/1 X-Deja-AN: 154351702 references: <4n0b31$s31@superb.csc.ti.com> content-type: text/plain; charset=us-ascii organization: Fen Software, Inc. mime-version: 1.0 newsgroups: comp.lang.ada,comp.software.testing,comp.software-eng x-mailer: Mozilla 2.01Gold (Win95; I) Date: 1996-05-11T00:00:00+00:00 List-Id: Ray Mosley wrote: > > ...snip > |> ***** Testing three ampersands in the middle... > |> test Count := Count_Ampersand ("abc&&&abc"); > |> pass Count = 3 > |> > |> The `tg' command translates this into code similar to that shown > |> above and puts it into a complete driver program. > |> > |> --------------------------------------------------------------------------- > > Could you perhaps give some examples of other languages, like tcl itself, > as well as C/C++? =========== This shouldn't be necessary in C++ or C. This is one of the few places where macros are justified and useful. Mike.