equal
deleted
inserted
replaced
938 void TestTQueIter<T,Iter>::Test5() |
938 void TestTQueIter<T,Iter>::Test5() |
939 { |
939 { |
940 T item1,item2; |
940 T item1,item2; |
941 TSglQue<T> que(_FOFF(T,iLink)); |
941 TSglQue<T> que(_FOFF(T,iLink)); |
942 Iter* iter; |
942 Iter* iter; |
943 T* a; |
|
944 |
943 |
945 que.AddFirst(item2); |
944 que.AddFirst(item2); |
946 que.AddFirst(item1); |
945 que.AddFirst(item1); |
947 test.Start(_L("Constructor")); |
946 test.Start(_L("Constructor")); |
948 iter=new Iter(que); |
947 iter=new Iter(que); |
949 test.Next(_L("Iterators")); |
948 test.Next(_L("Iterators")); |
950 a=*iter; |
|
951 (*iter)++; |
949 (*iter)++; |
952 delete iter; |
950 delete iter; |
953 test.Next(_L("Finished")); |
951 test.Next(_L("Finished")); |
954 test.End(); |
952 test.End(); |
955 } |
953 } |