diff options
author | Alex Auvolat <alex@adnab.me> | 2018-09-01 16:06:23 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-09-01 16:06:23 +0200 |
commit | c6ec33d6e612168e14d77007915a4ea423c55a2e (patch) | |
tree | 8b5645651a0cc991b8ac9c68c388d84c8dbe73d2 /test/mkllst_test.exs | |
parent | 1a0ef154a421af60f6d57dfe861dacb844a7d142 (diff) | |
download | shard-c6ec33d6e612168e14d77007915a4ea423c55a2e.tar.gz shard-c6ec33d6e612168e14d77007915a4ea423c55a2e.zip |
Move everything to subdirectory
Diffstat (limited to 'test/mkllst_test.exs')
-rw-r--r-- | test/mkllst_test.exs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/mkllst_test.exs b/test/mkllst_test.exs deleted file mode 100644 index 68dacf3..0000000 --- a/test/mkllst_test.exs +++ /dev/null @@ -1,18 +0,0 @@ -defmodule ShardTest.MklLst do - use ExUnit.Case - doctest Shard.Application - - test "merkle list" do - alias SData.MerkleList, as: ML - - mkl = ML.new(&SData.cmp_ts_str/2) - - {:ok, [], nil} = ML.read(mkl) - - mkl = ML.insert(mkl, {12, "aa, bb"}) - mkl = ML.insert_many(mkl, [{14, "qwerty"}, {8, "haha"}]) - mkl = ML.insert(mkl, {14, "qwerty"}) - {:ok, list, nil} = ML.read(mkl, nil, nil) - assert length(list) == 3 - end -end |