![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Darren New
Subject: Re: Unit testing - simple question with long explanation for discussion...
Date: 9 Jan 2009 13:24:02
Message: <49679642$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Orchid XP v8 wrote:
> As I say, when I run it in Ghostscript, it works just fine.
I don't know how ghostscript works per se. You're sending it to the printer,
or the screen?
The point is the PS interpreter in the printer has no good way of knowing
you're done with the page, unlike ghostscript, so you have to add specific
code to the postscript on a printer to say "I've generated the bitmap, so
send it to a page now." IIRC, that command is called "showpage".
Ghostscript on the screen renders as it interprets, so that's different.
--
Darren New, San Diego CA, USA (PST)
Why is there a chainsaw in DOOM?
There aren't any trees on Mars.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Orchid XP v8
Subject: Re: Unit testing - simple question with long explanation for discussion...
Date: 9 Jan 2009 13:26:27
Message: <496796d3$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New wrote:
> Orchid XP v8 wrote:
>> As I say, when I run it in Ghostscript, it works just fine.
>
> I don't know how ghostscript works per se. You're sending it to the
> printer, or the screen?
>
> The point is the PS interpreter in the printer has no good way of
> knowing you're done with the page, unlike ghostscript, so you have to
> add specific code to the postscript on a printer to say "I've generated
> the bitmap, so send it to a page now." IIRC, that command is called
> "showpage".
>
> Ghostscript on the screen renders as it interprets, so that's different.
Ghostscript also refuses to display anything until you perform a
showpage operation. (Or the deprecated copypage operation, for that matter.)
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Darren New
Subject: Re: Unit testing - simple question with long explanation for discussion...
Date: 11 Jan 2009 21:54:17
Message: <496ab0d9$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Invisible wrote:
> Because the list is wildly incomplete. Figuring out how to make a
> *complete* list is absurdly hard.
Actually, the right answer is to start with the incomplete list, and make
sure that nothing that used to work breaks when you add more.
But the real point of this post: A sample unit test for you:
http://groups.google.com.au/group/comp.lang.misc/msg/6167f34c7fff9570
--
Darren New, San Diego CA, USA (PST)
Why is there a chainsaw in DOOM?
There aren't any trees on Mars.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Invisible
Subject: Re: Unit testing - simple question with long explanation for discussion...
Date: 12 Jan 2009 04:11:46
Message: <496b0952@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Darren New wrote:
> Invisible wrote:
>> Because the list is wildly incomplete. Figuring out how to make a
>> *complete* list is absurdly hard.
>
> Actually, the right answer is to start with the incomplete list, and
> make sure that nothing that used to work breaks when you add more.
Well, that too.
> But the real point of this post: A sample unit test for you:
>
> http://groups.google.com.au/group/comp.lang.misc/msg/6167f34c7fff9570
Ooo... TMFT? ;-)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |