~ubuntu-branches/ubuntu/quantal/pixman/quantal-proposed

« back to all changes in this revision

Viewing changes to test/a1-trap-test.c

  • Committer: Package Import Robot
  • Author(s): Maarten Lankhorst
  • Date: 2013-12-10 13:26:08 UTC
  • mfrom: (30.1.4 saucy-security)
  • Revision ID: package-import@ubuntu.com-20131210132608-8dfmczm1fjrm99jh
Tags: 0.30.2-1ubuntu0.0.0.1
Copy saucy package back to quantal. (LP: #1253041)

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
    assert (bits[1] == 0xffffffff);
46
46
    assert (bits[1 * WIDTH + 0] == 0xffffffff);
47
47
    assert (bits[1 * WIDTH + 1] == 0xffffffff);
 
48
 
 
49
    /* The check-formats test depends on operator_name() and format_name() returning
 
50
     * these precise formats, so if those change, check-formats.c must be updated too.
 
51
     */
 
52
    assert (
 
53
        strcmp (operator_name (PIXMAN_OP_DISJOINT_OVER), "PIXMAN_OP_DISJOINT_OVER") == 0);
 
54
    assert (
 
55
        strcmp (format_name (PIXMAN_r5g6b5), "r5g6b5") == 0);
48
56
    
49
57
    return 0;
50
58
}