Created
October 7, 2017 19:22
-
-
Save elbrujohalcon/71403ee79d701f2e26fc63ed6228bc4a to your computer and use it in GitHub Desktop.
Examples for my blog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-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