R: Regressiontests for bit

regtest.bit {bit} | R Documentation

## Regressiontests for bit

### Description

Test package bit for correctness

### Usage

    regtest.bit(N = 100)

### Arguments

`N` | number of random test runs

### Details

random data of random length are generated and correctness of package functions tested on these

### Value

a vector of class 'logical' or 'integer'

### Author(s)

Jens Oehlschlägel

### See Also

`bit`, `as.bit`, `as.logical`, `as.integer`, `which`

### Examples

      if (regtest.bit()){
        message("regtest.bit is OK")
      }else{
        message("regtest.bit failed")
      }

      ## Not run:
        regtest.bit(10000)

    ## End(Not run)

[Package bit version 1.1-15 Index]