add PI test
This commit is contained in:
parent
3254dc445c
commit
88bf708ed2
@ -207,7 +207,7 @@ function Library (ronin) {
|
||||
|
||||
this.PI = Math.PI
|
||||
|
||||
this.TWO_PI = Math.PI
|
||||
this.TWO_PI = Math.PI * 2
|
||||
|
||||
// Generics
|
||||
|
||||
|
@ -13,7 +13,8 @@
|
||||
(test "mod" (mod 6 4) 2)
|
||||
(test "clamp" (clamp 12 4 8) 8)
|
||||
(test "step" (step 12 10) 10)
|
||||
|
||||
(test "PI" TWO_PI (mul 2 PI))
|
||||
|
||||
; Logic
|
||||
|
||||
(test "lt" (lt 3 4) true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user