mathutils_spec.lua 192 B

12345678
  1. local M = require "mathutils"
  2. describe("GCD", function()
  3. it("should calculate values correctly", function()
  4. assert.equals(1, M.gcd(5, 7, 9))
  5. assert.equals(4, M.gcd(8, 24, 20))
  6. end)
  7. end)