Ignore:
Timestamp:
Dec 29, 2019, 9:40:52 PM (2 years ago)
Author:
Dmitry Kobets <dkobets@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
94df8de
Parents:
596fc4ad
Message:

Add missing right-bitshift operator tests for vec2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/vector/vec2_int.cfa

    r596fc4ad r0b3cdad  
    153153    }
    154154
     155    // >>
     156    {
     157        vec2(int) u = {2, 1};
     158        sout | "?>>?(int)" | (u >> 1);
     159        sout | "?>>=?(int)" | (u >>= 1);
     160    }
     161    {
     162        vec2(int) u = {5, 7};
     163        vec2(int) v = {1, 2};
     164        sout | "?>>?(vec)" | (u >> v);
     165        sout | "?>>=?(vec)" | (u >>= v);
     166    }
     167
    155168    // ~
    156169    {
Note: See TracChangeset for help on using the changeset viewer.