From db908f9b166ac441bcbd1a80045db51298312a4d Mon Sep 17 00:00:00 2001 From: Marc-Eric Martel <1205697@etu.cegepsth.qc.ca> Date: Fri, 17 Sep 2021 10:10:15 -0400 Subject: [PATCH] Ajout de test pour Chunk.SetBlock(). --- SQCSim2021/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SQCSim2021/main.cpp b/SQCSim2021/main.cpp index 73dd8ca..b0a9488 100644 --- a/SQCSim2021/main.cpp +++ b/SQCSim2021/main.cpp @@ -48,6 +48,7 @@ int main() { std::cout << "-Test 3--------Chunk Reset/Remove Block-----" << std::endl; testchunkcopy.Reset(BTYPE_GRASS); testchunkcopy.RemoveBlock(3, 0, 0); + testchunkcopy.SetBlock(4, 0, 0, BTYPE_DIRT); testblock.clear();