Skip to content

Commit

Permalink
test operator ~
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Jun 21, 2012
1 parent c7a6f3c commit 090de4a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions t/medium/02bitwiseops.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#! winxed

// Medium tests: bitwise operators

using extern Test.More done_testing, is;

function main()
{
int a = 7;
int b = 3;
is(a & ~b, 4, "7 & ~ 3 : 4");

done_testing();
}

// End

0 comments on commit 090de4a

Please sign in to comment.