Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Examples for my blog
-module(kvs_SUITE).
-export([basic_test/1]).
-export([all/0]).
all() -> [basic_test].
basic_test(_) ->
{ok, _} = kvs:start(),
notfound = kvs:retrieve(x),
ok = kvs:store(x, found),
found = kvs:retrieve(x),
ok.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment