From 1cc48481a2ca530bab04999da78eddc8a1b98adb Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Mon, 6 Feb 2017 14:54:28 -0800 Subject: [binary search tool] Add bisecting tests. Add real bisection testing, for use with or without compiler wrapper script. BUG=https://b.corp.google.com/issues/34888940 TEST=Tested wtih & without the compiler wrapper in my source tree. Change-Id: I72329b458b5c93f8e7f03f9970c755018390cc3c Reviewed-on: https://chromium-review.googlesource.com/438666 Commit-Ready: Caroline Tice Tested-by: Caroline Tice Reviewed-by: Yunlian Jiang --- binary_search_tool/full_bisect_test/good-output.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 binary_search_tool/full_bisect_test/good-output.txt (limited to 'binary_search_tool/full_bisect_test/good-output.txt') diff --git a/binary_search_tool/full_bisect_test/good-output.txt b/binary_search_tool/full_bisect_test/good-output.txt new file mode 100644 index 00000000..4db15eb2 --- /dev/null +++ b/binary_search_tool/full_bisect_test/good-output.txt @@ -0,0 +1,11 @@ +pre-order traversal, with recursion: +35 28 20 25 23 26 30 60 70 65 64 68 + +pre-order traversal, without recursion: +35 28 20 25 23 26 30 60 70 65 64 68 + +in-order traversal, with recursion: +20 23 25 26 28 30 35 60 64 65 68 70 + +in-order traversal, without recursion: +20 23 25 26 28 30 35 60 64 65 68 70 -- cgit v1.2.3