Move previous cryptopals work into an Erlang subfolder, start cryptopals in Python 3
[sandbox] / cryptopals-erlang / 01.01 / hex_to_base64_tests.erl
diff --git a/cryptopals-erlang/01.01/hex_to_base64_tests.erl b/cryptopals-erlang/01.01/hex_to_base64_tests.erl
new file mode 100644 (file)
index 0000000..11ac698
--- /dev/null
@@ -0,0 +1,6 @@
+-module(hex_to_base64_tests).
+-include_lib("eunit/include/eunit.hrl").
+
+basit_test() -> ?assertEqual(
+    "SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t",
+    hex_to_base64:hex_to_base64("49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d")).