a-story Pub

Tests for factorial:

send::  msg a.fact  (n:Number<-0)

expect::  (payload == 1)

send::  msg a.fact  (n:Number<-5)

expect::  (payload == 120)


Was this useful?    

By: Razie | 2019-06-01 .. 2019-06-02 | Tags: story , dsl


Viewed 67 times ( | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2020, all rights reserved.