numberscope / frontscope

Numberscope's front end and user interface: responsible for specifying sequences and defining and displaying visualizers
MIT License
7 stars 15 forks source link

testing sequence caching #54

Closed katestange closed 1 week ago

katestange commented 2 years ago

Once the test framework is up and running, there should be a test that the caching of sequences (SequenceCached.ts) never calls calculate() twice for the same index n. The random integer sequence functionality (PR #53) relies on this guarantee, since we wish to guarantee that the randomly generated value is the same if the same term is called twice. But its calculate() function is just a call to Random(), so without careful caching, this guarantee would not be met.

gwhitney commented 2 years ago

Depends on resolution of #25. (Does Github have formal dependencies among issues/PRs? Some repository packages do...)

gwhitney commented 1 month ago

This should be folded into #420. Adding milestone.

gwhitney commented 1 week ago

Completed in ui2 thanks to #420. Closing.