bdambrosio

test-calculate

Tests calculate tool with arithmetic, trig, and variable substitution

bdambrosio 10 Updated 9mo ago

Resources

1
GitHub

Install

npx skillscat add bdambrosio/cognitive-workbench/test-calculate

Install via the SkillsCat registry.

About this skill

This skill tests the calculate tool by evaluating arithmetic operations, trigonometric functions with degree inputs, variable substitution in formulas, and additional math functions like square roots and factorials. It verifies that the calculate tool correctly processes expressions such as 2 + 3 * 4 and projectile motion formulas with substituted variables. Developers should use this skill to validate the accuracy and functionality of the calculate tool during development or testing phases.

SKILL.md

Test Calculate Tool

Tests the calculate tool with:

  • Basic arithmetic: 2 + 3 * 4 = 14
  • Trig with degrees: projectile flight time formula
  • Variable substitution: formula with {"v": 20, "theta": 30, "g": 9.8}
  • Other functions: sqrt(16) + factorial(5) = 124

Categories