Use cacaphony test vectors

This commit is contained in:
Hans Svensson
2019-01-28 20:40:52 +01:00
parent a3e803fc1a
commit 98d18bcaa5
4 changed files with 29699 additions and 14530 deletions
+2 -2
View File
@@ -12,12 +12,12 @@ noise_hs_test_() ->
fun() -> test_utils:noise_test_vectors() end,
fun(_X) -> ok end,
fun(Tests) ->
[ {maps:get(name, T), fun() -> noise_hs_test(T) end}
[ {maps:get(protocol_name, T), fun() -> noise_hs_test(T) end}
|| T <- test_utils:noise_test_filter(Tests) ]
end
}.
noise_hs_test(V = #{ name := Name }) ->
noise_hs_test(V = #{ protocol_name := Name }) ->
Protocol = enoise_protocol:from_name(Name),
FixK = fun(undefined) -> undefined;