Skip to content

Unit Tests #30

@mupfdev

Description

@mupfdev

Keeping track of the unit test coverage.

Audio Manipulation

  • music()
  • sfx()

Cart Data

  • cartdata()
  • dget()
  • dset()

Co-Routines

  • cocreate()
  • coresume()
  • costatus()
  • yield()

Flow Control

  • _draw()
  • _init()
  • _update()
  • _update60()
  • time() and t()

Generic

  • assert()
  • type()
  • select()
  • rawset()
  • rawget()
  • rawequal()
  • rawlen()

Graphics

  • camera()
  • circ()
  • circfill()
  • clip()
  • cls()
  • color()
  • cursor()
  • fget()
  • fillp()
  • flip()
  • fset()
  • line()
  • oval()
  • ovalfill()
  • pal()
  • palt()
  • pget()
  • print()
  • pset()
  • rect()
  • rectfill()
  • sget()
  • spr()
  • sset()
  • sspr()
  • tline()

Input

  • btn()
  • btnp()

Map

  • map()
  • mget()
  • mset()
  • mapdraw()

Math

  • abs()
  • atan2()
  • ceil()
  • cos()
  • flr()
  • max()
  • mid()
  • min()
  • rnd()
  • sgn()
  • sin()
  • sqrt()
  • srand()

Memory

  • cstore()
  • reload()
  • memcpy()
  • memset()
  • peek()
  • peek2()
  • peek4()
  • poke()
  • poke2()
  • poke4()
  • serial()

Operators

  • band(x, y)
  • bor(x, y)
  • bxor(x, y)
  • bnot(x)
  • shl(x, n)
  • shr(x, n)
  • lshr(x, n)
  • rotl(x, n)
  • rotr(x, n)

System

  • menuitem()
  • extcmd()
  • run()

Tables

  • add()
  • all()
  • count()
  • del()
  • foreach()
  • ipairs()
  • pairs()
  • pack()
  • unpack()
  • setmetatable()

P8SCII

  • 0, Terminate printing
  • 1, Repeat next character
  • 2, Draw solid background
  • 3, Move cursor horizontally
  • 4, Move cursor vertically.
  • 5, Move cursor
  • 6, Special command
  • 7, Audio command
  • 8, Backspace
  • 9, Tab
  • 10, Newline
  • 11, Decorate previous character
  • 12, Set foreground color
  • 13, Carriage return
  • 14, Switch to font defined at 0x5600
  • 15, Switch font to default
  • 16-31
  • 32-126
  • 127-153
  • 154-203
  • 204-253
  • 254-255

Strings

  • chr()
  • sub()
  • tostr()
  • tonum()
  • ord()
  • split()

Sub-issues

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions