ref_send API 2.17
defensive programming in Java

org.waterken.factorial
Class FactorialN

java.lang.Object
  extended by org.waterken.factorial.FactorialN

public final class FactorialN
extends java.lang.Object

Eventual invocation tests.


Method Summary
static void main(java.lang.String[] args)
          Executes the test.
static Promise<?> make(Eventual _, int n)
          Runs a unit test.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

make

public static Promise<?> make(Eventual _,
                              int n)
Runs a unit test.

Parameters:
_ - eventual operator
n - number to compute factorial of

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Executes the test.

Parameters:
args - ignored
Throws:
java.lang.Exception - test failed

ref_send API 2.17
defensive programming in Java

Submit a bug or feature, or get help

Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.