summaryrefslogtreecommitdiff
path: root/run_test.go
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-09-23 14:26:34 -0400
committerBen Burwell <ben@benburwell.com>2019-09-23 14:26:34 -0400
commitf312016e0b70f38b48e509472680bbf6cde64179 (patch)
tree086fa9961c091dae5fb00d684965d47db8ce1d9a /run_test.go
parent5d3f80f17a10fcfd6b5fd4fb4a2d42afaf7dc789 (diff)
Simplify
Diffstat (limited to 'run_test.go')
-rw-r--r--run_test.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/run_test.go b/run_test.go
deleted file mode 100644
index 79a5a55..0000000
--- a/run_test.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package caesar
-
-import "testing"
-
-func TestCoder(t *testing.T) {
- coder := Coder{Key: 1, Ranges: []RuneRange{{'a', 'z'}}}
- t.Run("Encode", func(t *testing.T) {
- if coder.Encode("abc") != "bcd" {
- t.Fail()
- }
- })
- t.Run("Decode", func(t *testing.T) {
- if coder.Decode("bcd") != "abc" {
- t.Fail()
- }
- })
-}