23 юни 2012, събота, 18:35:22 UTC+3, Stefan Krastanov написа: > > > What's the purpose of using precomputed values? > I am not sure how useful it is as a test, however the idea is to check > that the algorithm works correctly without the problems that testing > random numbers brings. > > Even if it is actually useless for testing the algorithm, it is still > useful for testing the 2to3 translator that we use for python3. > Such tests may indeed be very implementation-specific (is that why you think they might be useless?), but I wouldn't say that they don't help at all - there are still many things that can be broken inside a function that make such tests fail.
-- You received this message because you are subscribed to the Google Groups "sympy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/z_y4k4C3spsJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
