Updated testsuite with an expected GCL error in to_poly_share
[maxima.git] / tests / rtest13s.mac
blob2e68c0db0d2386a537cbda87556ee0d895e9393f
1 /*************** -*- Mode: MACSYMA; Package: MAXIMA -*-  ******************/
2 /***************************************************************************
3 ***                                                                    *****
4 ***     Copyright (c) 1984 by William Schelter,University of Texas     *****
5 ***     All rights reserved                                            *****
6 ***************************************************************************/
8 infix("|");
9 "|"$
11 exp1:{x | x > 0};
12 set(x | x > 0)$
14 exp2:{x | x < 2};
15 set(x | x < 2)$
17 infix("ou");
18 "ou"$
20 infix("oi");
21 "oi"$
23 exp1 ou exp2;
24 set(x | x > 0) ou set(x | x < 2)$
26 exp1 ou exp2;
27 set(x | x > 0) ou set(x | x < 2)$
29 exp1:{1,2,3};
30 set(1,2,3)$
32 {3,4,5};
33 set(3,4,5)$
35 exp1 ou exp1 ou %;
36 set(1,2,3) ou set(1,2,3) ou set(3,4,5)$
38 infix("ou",100,100);
39 "ou"$
41 exp2:infix("oi",120,120);
42 "oi"$
44 exp1 ou exp1 ou {7};
45 set(1,2,3) ou set(1,2,3) ou set(7)$
47 /* Make sure we didn't make the uppercase versions also operators */
48 x + OU;
49 x + OU$
50 x + OI;
51 x + OI$
52 /*kill("ou");*/
53 remove("ou",operator);
54 done$
55 foo(ou);
56 foo(ou);