Add Birb.assert_list_mode_n_items

Review Request #3936 — Created March 28, 2025 and submitted

Information

birb/birb
default

Reviewers

This is a helper to shorten the amount of code we have to type when we do this
multiple times in a unit test.

Ran the count tests under valgrind and called in the turtles.

Summary ID
Add Birb.assert_list_mode_n_items
This is a helper to shorten the amount of code we have to type when we do this multiple times in a unit test.
cfc6dba596138c370a10f591be9dc763f7eab28e
Description From Last Updated

The downside of this is that the file/line are incorrect for the assertion. It would have to be a macro …

QuLogicQuLogic

Also missing a BIRB_AVAILABLE_ tag.

QuLogicQuLogic
There are no open issues
QuLogic
  1. 
      
  2. birb/birbassert.h (Diff revision 1)
     
     
     
    Show all issues

    The downside of this is that the file/line are incorrect for the assertion. It would have to be a macro to match g_assert_cmpuint, which would get the right file/line.

  3. birb/birbassert.h (Diff revision 1)
     
     
    Show all issues

    Also missing a BIRB_AVAILABLE_ tag.

  4. 
      
grim
QuLogic
  1. Ship It!
  2. 
      
grim
Review request changed
Status:
Completed
Loading...