- Timestamp:
- Dec 10, 2024, 2:28:31 PM (8 days ago)
- Branches:
- master
- Children:
- 6e6e372
- Parents:
- fd0a1799
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/zero_one.cfa
rfd0a1799 r8e4f34e 30 30 S ?+=?( S & s, one_t ) { s.[i,j] += 1; return s; } // increment 31 31 S ?-=?( S & s, one_t ) { s.[i,j] -= 1; return s; } 32 S ++?( S & s ) { s += 1; return s; }33 32 int ?!=?( S s, zero_t ) { return s.i != 0 && s.j != 0; } // comparison 34 33 void testInitAssignQueryIncrement() {
Note: See TracChangeset
for help on using the changeset viewer.