From 525d91717ac8a74964c1bc1bd554b32b8a8c4547 Mon Sep 17 00:00:00 2001 From: lee Date: Tue, 25 Jun 2019 11:27:08 +0100 Subject: [PATCH] fix readme btreeisbinary from quest 12 --- subjects/btreeisbinary.en.md | 18 +++++++++--------- subjects/btreeisbinary.fr.md | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/subjects/btreeisbinary.en.md b/subjects/btreeisbinary.en.md index e57a11a95..2a93d3143 100644 --- a/subjects/btreeisbinary.en.md +++ b/subjects/btreeisbinary.en.md @@ -23,23 +23,23 @@ package main import ( "fmt" - student ".." + piscine ".." ) func main() { - root := &student.TreeNode{Data: "4"} - student.BTreeInsertData(root, "1") - student.BTreeInsertData(root, "7") - student.BTreeInsertData(root, "5") - fmt.Println(student.BTreeIsBinary(root)) + root := &piscine.TreeNode{Data: "4"} + piscine.BTreeInsertData(root, "1") + piscine.BTreeInsertData(root, "7") + piscine.BTreeInsertData(root, "5") + fmt.Println(piscine.BTreeIsBinary(root)) } ``` And its output : ```console -student@ubuntu:~/student/btreeisbinary$ go build -student@ubuntu:~/student/btreeisbinary$ ./btreeisbinary +student@ubuntu:~/student/test$ go build +student@ubuntu:~/student/test$ ./test true -student@ubuntu:~/student/btreeisbinary$ +student@ubuntu:~/student/test$ ``` diff --git a/subjects/btreeisbinary.fr.md b/subjects/btreeisbinary.fr.md index e57a11a95..2a93d3143 100644 --- a/subjects/btreeisbinary.fr.md +++ b/subjects/btreeisbinary.fr.md @@ -23,23 +23,23 @@ package main import ( "fmt" - student ".." + piscine ".." ) func main() { - root := &student.TreeNode{Data: "4"} - student.BTreeInsertData(root, "1") - student.BTreeInsertData(root, "7") - student.BTreeInsertData(root, "5") - fmt.Println(student.BTreeIsBinary(root)) + root := &piscine.TreeNode{Data: "4"} + piscine.BTreeInsertData(root, "1") + piscine.BTreeInsertData(root, "7") + piscine.BTreeInsertData(root, "5") + fmt.Println(piscine.BTreeIsBinary(root)) } ``` And its output : ```console -student@ubuntu:~/student/btreeisbinary$ go build -student@ubuntu:~/student/btreeisbinary$ ./btreeisbinary +student@ubuntu:~/student/test$ go build +student@ubuntu:~/student/test$ ./test true -student@ubuntu:~/student/btreeisbinary$ +student@ubuntu:~/student/test$ ```