On Feb 6, 2008 11:59 AM, Robert Cimrman cimr...@ntc.zcu.cz wrote:
Ondrej Certik wrote:
Generally, I think it's a very good idea, when you (or we) implement something and you are sure that it works perfectly (which - at least for me - takes some time playing with the problem to be sure that what I get is correct), to write a test testing the correct result immediatelly. Because once we test it, we can forget about it, as it will always work.
Sure. In those rare cases when one knows that a result is correct...
Yep. For example the result from the schrodinger solver is incorrect (probably just due to mesh).
btw. the figures with eigensolutions of your equation would be a nice addition to the Examples wiki!
Yes, absolutely. I am learning for my exam tomorrow from Lie groups, but I hope to work on this tomorrow after the exam. I need to import my own mesh and then I'll hopefully get the correct eigenvalues. If I do, then I'll write a test for it and put it into examples.