From d2ca4bd30a1cc42d4f4d9bc6c93607b8fa46628c Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Mon, 26 Jul 2021 22:38:02 -0400 Subject: [PATCH] Add test for QuicksortApp --- benchmarks/.gitignore | 1 + cli/tests/cli_run.rs | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/benchmarks/.gitignore b/benchmarks/.gitignore index db579eab99..e6a6950077 100644 --- a/benchmarks/.gitignore +++ b/benchmarks/.gitignore @@ -13,3 +13,4 @@ rbtree-del rbtree-ck test-astar test-base64 +quicksortapp diff --git a/cli/tests/cli_run.rs b/cli/tests/cli_run.rs index 9dd38ffb5d..f5a6a2395a 100644 --- a/cli/tests/cli_run.rs +++ b/cli/tests/cli_run.rs @@ -355,6 +355,13 @@ mod cli_run { expected_ending: "", use_valgrind: true, }, + quicksort_app => Example { + filename: "QuicksortApp.roc", + executable_filename: "quicksortapp", + stdin: &[], + expected_ending: "todo put the correct quicksort answer here", + use_valgrind: true, + }, } fn check_for_tests(examples_dir: &str, all_examples: &mut HashMap<&str, Example<'_>>) {