Skip to content

Instantly share code, notes, and snippets.

@renatorozas
Created March 15, 2016 02:41
Show Gist options
  • Save renatorozas/ae3c18d6b6869979267d to your computer and use it in GitHub Desktop.
Save renatorozas/ae3c18d6b6869979267d 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_() ->
?_test(?assertEqual([], kv_db:new())).
new_test() ->
?assertEqual([], kv_db:new()).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment