Changeset 6b8106 in git for Tst/Short/countedref_s.tst


Ignore:
Timestamp:
Sep 13, 2012, 2:59:47 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
1592b986a21bcaba5633414189a7b08c5cce6213
Parents:
2ed48b369bc0d2a3c22dd1fc1ff4b91704e73ec6f768d91b15a3cda106e7c041c7889cda1828dbfe
Message:
Merge pull request #185 from alexanderdreyer/spielwiese-countedref

attributes treated accordingly by 'reference' and 'shared'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Tst/Short/countedref_s.tst

    r2ed48b r6b8106  
    11191119def(ll[2]) = x;       // generic alternative
    11201120ll;
     1121
     1122// --------------------------------------------------------
     1123kill r, ref, ref2;
     1124ring r;ideal I = maxideal(1);ideal J = I;
     1125reference ref = I;
     1126
     1127attrib(ref, "huhu", 11);
     1128
     1129attrib(ref, "huhu");
     1130attrib(I, "huhu");
     1131
     1132attrib(ref, "huhu", 111);
     1133
     1134attrib(ref, "huhu");
     1135attrib(I, "huhu");
     1136
     1137
     1138reference ref2= I;
     1139attrib(ref2, "huhu");
     1140
     1141attrib(ref, "hihi", 12);
     1142
     1143attrib(ref, "huhu");
     1144attrib(I, "huhu");
     1145attrib(ref, "hihi");
     1146attrib(I, "hihi");
     1147
     1148attrib(ref2, "huhu");
     1149attrib(ref2, "hihi");
     1150
     1151attrib(I, "isSB");
     1152attrib(ref2, "isSB");
     1153
     1154attrib(ref2, "isSB", 0);
     1155
     1156attrib(I, "isSB");
     1157
     1158
     1159attrib(ref2, "isSB");
     1160
     1161
     1162
     1163attrib(I, "isSB", 1);
     1164attrib(I, "isSB");
     1165
     1166attrib(ref2, "isSB");
     1167
    11211168// --------------------------------------------------------
    11221169tst_status(1);$
Note: See TracChangeset for help on using the changeset viewer.