Re: [basex-talk] Automatically generating test cases. Hidden feature?

2016-01-13 Thread Rob Stapper
-boun...@mailman.uni-konstanz.de] Namens Marc van Grootel Verzonden: woensdag 13 januari 2016 10:08 Aan: Christian Grün CC: BaseX Onderwerp: Re: [basex-talk] Automatically generating test cases. Hidden feature? The compliment is well-deserved ;-) Yes, after my mind settled down on what I wrote, I rea

Re: [basex-talk] Automatically generating test cases. Hidden feature?

2016-01-13 Thread Marc van Grootel
The compliment is well-deserved ;-) Yes, after my mind settled down on what I wrote, I realized this too. The annotation nor the anonymous function itself (a partial could have served the same function) wasn't necessary. So it's just plain cool instead of very cool. It was mostly my sudden enthou

Re: [basex-talk] Automatically generating test cases. Hidden feature?

2016-01-12 Thread Christian Grün
Hi Marc, > BaseX, the gift that keeps on giving, thanks to all that make it possible. One of the nicest compliments that we got so far… Thanks ;) > So, a bit to my amazement, the following works: > > let $equals := > %unit:test > function($a,$b) { > unit:assert-equals($a,

[basex-talk] Automatically generating test cases. Hidden feature?

2016-01-12 Thread Marc van Grootel
Hi, Been a long time since posting. Work is very busy recently. Luckily for me a lot of it involves XQuery ;-) I am elaborating some examples [1] that show off the use of my Origami [2] library. The most promising ones I will turn in to blog posts or a wiki at some point. Recently I've been read