math-mumu 0.2.0-rc.4

Math functions plugin for the MuMu / Lava language
Documentation
1
2
3
4
5
6
7
8
9
10
11
extend("test")
extend("math")

describe("math:sqrt", () => {

  it("computes square root of a positive number but returns a float anyway", () => {
    s = math:sqrt(37)
    expect_equal(s, 6.082762530298219)
  })

})