On Sun, Mar 9, 2008 at 11:27 PM, harshal <[EMAIL PROTECTED]> wrote:
>
> John,
>
> I could come up with first cut implementation of MapReduce using
> Rufus.
> It will be great if you can suggest any improvements for it.
>
Hello,
how can I run your implementation ?
Is there a test case ? What's the entry point ?
You can write a test case in this way :
---8<---
require 'test/unit'
require 'mapreduce'
class FirstTest < Test::Unit::TestCase
def setup
end
def teardown
end
def test_0
#schedule = ...
MapReduceScheduler.new.apply(schedule)
#...
assert_equal 7, result_set.size
end
end
--->8---
It's important to have something small that runs and then grow it organically.
Best regards,
--
John Mettraux -///- http://jmettraux.openwfe.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenWFEru dev" group.
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/openwferu-dev?hl=en
-~----------~----~----~----~------~----~------~--~---