tests(stdlib): reorganize and expand StandardLibrary tests

- Switch tests to use Initializer.InitializeAll for setup
- Split stdlib tests by category: Angle, Rounding, Trig (incl. hyperbolic), NumberTheory, Random
- Add comprehensive tests invoking functions via InputInterpreter.Interpret()
- Register Bernoulli in Initializer so random tests cover
This commit is contained in:
Jordan Wages 2025-08-21 04:04:46 -05:00
commit 106efbc86e
7 changed files with 410 additions and 3 deletions

View file

@ -118,6 +118,7 @@ namespace CSMic.StandardLibrary
}
inputInterpreter.RegisterFunction(new FairFlip());
inputInterpreter.RegisterFunction(new Bernoulli());
inputInterpreter.RegisterFunction(new RandomUniform());
inputInterpreter.RegisterFunction(new RandomUniformSpread());
inputInterpreter.RegisterFunction(new RandomNormal());