Skip to content

Instantly share code, notes, and snippets.

@renatorozas
Created March 15, 2016 02:27
Show Gist options
  • Save renatorozas/967fb9e96edeb4cceaa2 to your computer and use it in GitHub Desktop.
Save renatorozas/967fb9e96edeb4cceaa2 to your computer and use it in GitHub Desktop.
Getting started with EUnit (Part 2)
-module(kv_db_tests).
-include_lib("eunit/include/eunit.hrl").
new_test_() ->
fun () -> ?assertEqual([], kv_db:new()) end.
new_test() ->
?assertEqual([], kv_db:new()).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment