Changeset 30586 in project


Ignore:
Timestamp:
03/21/14 11:18:54 (7 years ago)
Author:
certainty
Message:

data-generators: added documentation for gen-rational and gen-ipv4-address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/data-generators

    r30576 r30586  
    220220Generator for a real number between '''lower-bound''' and '''upper-bound'''.
    221221
     222<procedure>(gen-rational)</procedure>
     223Generator for a rational number
     224
     225<procedure>(gen-rational nom-gen denom-gen)</procedure>
     226Generator for a rational number where the nominator is generated with '''nom-gen''' and
     227the denominator is generated with '''denom-gen'''.
     228
    222229<procedure>(chars ...)</procedure>
    223230Alias for '''gen-char'''.
     
    356363generator is expected to return the size.
    357364
     365
     366==== Networking generators
     367
     368<procedure>(gen-ipv4-address)</procedure>
     369Creates a generator that returns a string representing a dotted quad ipv4 address.
     370
    358371==== Defining your own generators
    359372
Note: See TracChangeset for help on using the changeset viewer.