[Vala] using __doc__ for partial sequential test?



10years ago, make doctest by tim peters.
http://groups.google.com/group/comp.lang.python/msg/1c57cfb7b3772763?pli=1

doctest issue is following.

http://stackoverflow.com/questions/5522334/python-does-unittest-have-something-that-doctest-hasnt
http://stackoverflow.com/questions/5006698/what-is-the-equivalent-of-a-python-docstring-in-ruby
http://blog.jdhardy.ca/2010/10/running-django-test-suite-on-ironpython.html

So, after all, It's a style problem.
Is there a vala style guide?

http://code.google.com/p/soc/wiki/PythonStyleGuide
http://live.gnome.org/Vala/Tutorial#Strings

attempt test file.
It's capable in vala? Thanks for any advise.

Attachment: array.vala
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]