We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98be11f commit 6594df8Copy full SHA for 6594df8
test/mono.jl
@@ -15,3 +15,14 @@ facts("Vector to Monomial Vector") do
15
@fact MonomialVector([1]) --> MonomialVector(PolyVar[], [Int[]])
16
@fact MonomialVector([x]) --> MonomialVector([x], [[1]])
17
end
18
+module newmodule
19
+ using FactCheck
20
+ import MultivariatePolynomials
21
+ facts("Polyvar macro hygiene") do
22
+ # Verify that the @polyvar macro works when the package has been activated
23
+ # with `import` instead of `using`.
24
+ MultivariatePolynomials.@polyvar x y
25
+ @fact isa(x, MultivariatePolynomials.PolyVar) --> true
26
+ @fact isa(y, MultivariatePolynomials.PolyVar) --> true
27
+ end
28
+end
0 commit comments