Post Reply 
newRPL - Updated to build 1510 [official build remains at 1487]
06-08-2021, 03:54 PM
Post: #101
RE: newRPL - Updated to build 1360 [ including official build]
(06-07-2021 02:57 PM)SammysHP Wrote:  Unit tests! If you give us a framework we can help with implementing unit tests for each function. The mathematical functions shouldn't have any side effects and it should be easy to implement (although a lot of work to implement all unit tests, knowing all special cases etc).

I always liked the idea, in fact it's one of the reasons I kept alive the command line version of newRPL. We could modify it to be an automated test bench.
If somebody wants to help with the tedious task of creating test cases for the 500 commands... or at least for the mathematically significant ones. The number of cases would be huge, since you can test several corner cases, each with several object types.

I can make it into a command line tool that opens a text file.
The text file needs to contain the newRPL code for the test. A test always must leave a 1 or a zero in the stack (1=pass/0=fail).
It can be run in batch, and stop if there's any failure.
How about that?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - Updated to build 1360 [ including official build] - Claudio L. - 06-08-2021 03:54 PM
Navigating through sub-menus - Gilles - 05-13-2023, 11:31 AM
It's a mystery to me... - Klaus - 11-27-2023, 12:24 PM



User(s) browsing this thread: 3 Guest(s)