<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">I quote Juan's reply below. which
basically says "we should not do it in the base image." And I
completely agree. Although there are situations where this kind of
test is appropriate, I've seen too many cases where tests written
to accept approximate answers hide legitimate bugs.<br>
<br>
I realize that this does make porting more difficult, and you have
my sympathies for that.<br>
<br>
Regards,<br>
-Martin<br>
<br>
<div class="moz-cite-prefix">On 7/9/24 07:31, Juan Vuletich via
Cuis-dev wrote:<br>
</div>
<blockquote type="cite" cite="mid:668D49C2.1070802@cuis.st"> On
7/8/2024 10:45 PM, Mark Volkmann via Cuis-dev wrote:
<blockquote
cite="mid:CAFfRWnUJwTnvFL36qo=RY+X-9rLnsta6vT1up+jAkqiPmxZTJQ@mail.gmail.com"
type="cite">
<div dir="ltr">Were these instance methods in the `TestCase`
class removed recently?
<div><br>
</div>
<div>assert:isCloseTo:</div>
<div>assert:isCloseTo:withinPrecision:<br>
assert:isNotCloseTo:<br>
assert:isNotCloseTo:withinPrecision:</div>
<div><br>
</div>
<div>I see them in the file Cuis7.0.sources, but I don't
see them in a System Browser when the TestCase class is
selected.<br clear="all">
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div><font
face="arial, helvetica, sans-serif">R.
Mark Volkmann</font></div>
<div><span style="font-size: 12.8px;"><font
face="arial, helvetica, sans-serif">Object
Computing, Inc.</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Yes.<br>
<br>
There is no general and correct way to provide those kinds of
services. Anybody writing tests for numerical code should decide
how to test for correct results in the context of what they are
testing.<br>
</blockquote>
<br>
<br>
On 8/1/24 06:35, Hilaire Fernandes via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cc2ae458-9717-49f2-8315-a460d82b8115@free.fr">Hi,
<br>
<br>
I am porting some package usint it in the test.
<br>
<br>
How should we do it in the stock image? I don't want to add an
extension in the package.
<br>
<br>
I think we discussed it some weeks ago but I can't search the
mailing list.
<br>
<br>
Thanks
<br>
<br>
</blockquote>
<br>
</body>
</html>