test(tazjin/rlox): Add some tests for numerical operations

If I was adding any dependencies, this might be a good one for a
property-based test thing, but I'm not going to.

Change-Id: Ia801d041479d1a88c59ef9e0fe1460b3640382e3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2569
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-02-28 13:08:54 +02:00 committed by tazjin
parent fd2139ce31
commit 6b990a7571
2 changed files with 51 additions and 0 deletions

View file

@ -9,6 +9,9 @@ mod opcode;
mod value;
mod vm;
#[cfg(test)]
mod tests;
use chunk::Chunk;
pub struct Interpreter {}