Function test_eval_to_string

Source
pub fn test_eval_to_string(s: &str) -> String
Expand description

This is a function to help evaluating a piece of WLambda code and receive a text representation of the result. It’s primarily used by the WLambda test suite.

 assert_eq!(wlambda::compiler::test_eval_to_string("1 + 2"), "3");