File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
M2/Macaulay2/tests/normal Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,8 @@ gcd(p,q)
2222assert ( gcd (p,q) == d )
2323-- test deferred, trying to get it to work
2424-- factor p -- not implemented yet
25+
26+ -- used to crash (M2/bugs/dan/1-factory-bug)
27+ R = ZZ/2 [x,y,z,u,v]
28+ I = ideal (z^2 + x* y* z + x^2* y + x* y^2, u^2 + x* u + x, v^2 + y* v + y)
29+ assert (I == radical I)
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ assert( 4 === taskResult t )
1717t = schedule ( x -> x+ 2, 2 )
1818assert ( 4 === taskResult t )
1919
20+ assert (hash schedule (() -> null ) != hash schedule (() -> null ))
21+
2022-- check whether thread local variables have separate values in separate threads
2123threadVariable aaa
2224assert ( aaa === null )
Original file line number Diff line number Diff line change @@ -9,3 +9,6 @@ assert(v·w == 11)
99assert try getSymbol " ⟎⟎" then false else true
1010
1111assert ((a⇒b) === (a => b))
12+
13+ -- used to raise recursion error (M2/bugs/dan/1-recursion-in-printing)
14+ assert (vector vector {1} == vector (ZZ , 1 ))
You can’t perform that action at this time.
0 commit comments