From 2cd98a3bcd18870da4404693212119dd8ccfaf68 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Sat, 28 Aug 2021 20:54:34 +0200 Subject: refactor(chunks): use more interfaces --- chunk_test.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 chunk_test.go (limited to 'chunk_test.go') diff --git a/chunk_test.go b/chunk_test.go deleted file mode 100644 index 4ea6b44..0000000 --- a/chunk_test.go +++ /dev/null @@ -1,14 +0,0 @@ -package main - -import "testing" - -func TestIsStored(t *testing.T) { - stored := Chunk{Id: &ChunkId{0, 0}} - if !stored.isStored() { - t.Error("Chunk ", stored, " should be stored") - } - unstored := Chunk{} - if unstored.isStored() { - t.Error("Chunk ", unstored, " should not be stored") - } -} -- cgit v1.2.3