Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
reenable unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Jan 4, 2012
1 parent a97b6a9 commit 0317297
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/atomic.d
Expand Up @@ -1091,9 +1091,8 @@ version( unittest )
static class Klass {}
testCAS!(shared Klass)( new shared(Klass) );

// Cannot test for == with .init, because NaN is always !=
// testType!(float)(1.0f);
// testType!(double)(1.0);
testType!(float)(1.0f);
testType!(double)(1.0);

static if( has64BitCAS )
{
Expand Down

0 comments on commit 0317297

Please sign in to comment.