Skip to main content

Questions tagged [testing-and-verification]

Questions about creating, maintaining, and verifying tests for functions and packages. This includes doing unit tests, creating testing notebooks, running verification tests, generating test reports, and using the MUnit package.

10 votes
0 answers
133 views

How can tests be set up to run on GitHub actions for a Mathematica package? I am looking for a complete guide or perhaps a live example. This might be possible with the Free Wolfram Engine, but it is ...
Szabolcs's user avatar
  • 239k
3 votes
1 answer
132 views

By series manipulations we can show that $$\int_0^1\frac{\operatorname{Li}_2(a^n x^n)}{1-ax}dx=\sum_{k=1}^\infty a^{nk-1}H_{k}^{(2)}\sum_{j=1}^{n}\frac{a^j}{nk+j},$$ for positive integer $n$ and $a=\...
Ali Olaikhan's user avatar
8 votes
1 answer
353 views

It seems that in certain cases VerificationTest will leak the messages generated when testing. For example, ...
Acacia's user avatar
  • 3,467
0 votes
0 answers
68 views

I just write the code following : ...
Roy Smith's user avatar
-1 votes
1 answer
100 views

When I am creating a test for example with TestCreate, I have input and expected output. How can I prevent the expected input from evaluating the output? This was one of my favorite areas of new ...
Peter Burbery's user avatar
0 votes
2 answers
181 views

I have a function that includes another function inside. I want to know the derivative at every point x. I have spent a lot of time trying to figure out how to do this, but I am very lost. I have ...
Victor Nielsen's user avatar
2 votes
2 answers
191 views

Check the Edited too, please: i have a simple equation which i expect to get TRUE from Implies but it just returns the same thing to me. Implies works well for easier examples but I have some more ...
Azzurro94's user avatar
  • 499
26 votes
1 answer
2k views

I understand that Mathematica can have some peculiarities in this area, but just in case... I'm talking about things like measuring coverage of MUnit tests to get an idea of code quality.
Pavel Perikov's user avatar
3 votes
1 answer
188 views

To verify solution returned by DSolve, one can use the method shown in howto/CheckTheResultsOfDSolve.html and look for True (...
Nasser's user avatar
  • 156k
0 votes
0 answers
55 views

please advise me with this example. The solution should be done using the program wolfram mathematica. But I do not know how. Can you please advise me? Parents with blood group AB have children with ...
Thera's user avatar
  • 41
9 votes
3 answers
576 views

I have this equation $$x^2 \left(\sqrt{1-y^2} \sin (x)-\sin (4 x)\right)+2 x y=0$$ I want to solve this equation and find $y$ in terms of $x$. I use Solve ...
user avatar
8 votes
1 answer
138 views

Is there QuickCheck-like testing framework variant for Mathematica? We could analyse function argument patterns and generating arbitrary values matching patterns. The idea of generating values, ...
Pavel Perikov's user avatar
2 votes
2 answers
188 views

I have the following transcendental equation: $$2 \cot(x)=\frac{kx}{h(L/N)}-\frac{h(L/N)}{kx}$$ I use the following code to solve it ...
Avrana's user avatar
  • 297
12 votes
0 answers
314 views

Continuous integration (in the software engineering sense) is a common method to ensure that the code in your repository works as it should after each commit. For example, you can run a set of ...
vsht's user avatar
  • 3,592

15 30 50 per page
1
2 3 4 5