<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/specter/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/specter/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/specter/bugs/</id><updated>2006-08-05T22:42:45Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>ObjectMust op_equality inconsistent</title><link href="https://sourceforge.net/p/specter/bugs/2/" rel="alternate"/><published>2006-08-05T22:42:45Z</published><updated>2006-08-05T22:42:45Z</updated><author><name>Andrew Davey</name><uri>https://sourceforge.net/u/andrewdavey/</uri></author><id>https://sourceforge.netf2f784f7764bb13686446f9acd19012b96cba0d6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This should fail:&lt;br /&gt;
specify MyObj(14).Must == MyObj(41)&lt;br /&gt;
however it doesn't.&lt;/p&gt;
&lt;p&gt;The EqualityMust class does not overload the &lt;br /&gt;
op_Equality operator. So the default "==" is used - &lt;br /&gt;
returning false in the above case due to the &lt;br /&gt;
different object references.&lt;/p&gt;
&lt;p&gt;Most likely solution (until generics come to Boo) is &lt;br /&gt;
to make the "specify" macro convert "Must ==" &lt;br /&gt;
to "Must.Equal(...)".&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Double within doesn\\\'t work</title><link href="https://sourceforge.net/p/specter/bugs/1/" rel="alternate"/><published>2006-08-02T09:31:44Z</published><updated>2006-08-02T09:31:44Z</updated><author><name>Michael G. Sloan</name><uri>https://sourceforge.net/u/mgsloan/</uri></author><id>https://sourceforge.netbc7c6dd864ad06be26e545bc09071aaa519656e2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Well, first off, thanks for specter!  I've been&lt;br /&gt;
implementing tests for ~2000 lines of boo.  Gotta play&lt;br /&gt;
catch-up to reach behavior driven dev.  Most of the&lt;br /&gt;
code isn't tested at all though, not even in example&lt;br /&gt;
(its a lib), so I suppose it is behavior-driven&lt;br /&gt;
development.&lt;/p&gt;
&lt;p&gt;Anyway, in the latest specter binaries,&lt;br /&gt;
Double.Must.BeWithin doesn't appear to work.&lt;/p&gt;
&lt;p&gt;Here the following will make the specification fail:&lt;/p&gt;
&lt;p&gt;(2.0).Must.BeWithin(1).Of(2.5)&lt;/p&gt;
&lt;p&gt;On this same topic, (2.0).Must.Be.Within(1).Of(2.5),&lt;br /&gt;
the method shown in the docs, doesn't even compile.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>