Skip to content

Commit

Permalink
sanity check test
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Feb 17, 2011
1 parent 07dfc02 commit 77f2a06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dbtests/threadedtests.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ namespace ThreadedTests {
ASSERT_EQUALS(2u, u--); ASSERT_EQUALS(2u, u--);
ASSERT_EQUALS(0u, --u); ASSERT_EQUALS(0u, --u);
ASSERT_EQUALS(0u, u); ASSERT_EQUALS(0u, u);

u++;
ASSERT( u > 0 );

u--;
ASSERT( ! ( u > 0 ) );
} }
}; };


Expand Down

0 comments on commit 77f2a06

Please sign in to comment.