diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-19 13:50:44 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-19 13:50:44 +0100 |
commit | 794efc4ef7a44b190a4d9ecc2dd84a66c62ab005 (patch) | |
tree | 5c0c93f0e1e21431837ac0ab49950703d20209be /src/test/DBTest.cpp | |
parent | aaca31b3495060b46f178d476636563279fc1c23 (diff) | |
parent | ea85bf5d329c2f3571046329a2d22f9db7847544 (diff) |
Merge branch 'master' into niels/rendering_fixes
Diffstat (limited to 'src/test/DBTest.cpp')
-rw-r--r-- | src/test/DBTest.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/DBTest.cpp b/src/test/DBTest.cpp index 99dedff..7f2c339 100644 --- a/src/test/DBTest.cpp +++ b/src/test/DBTest.cpp @@ -27,3 +27,11 @@ TEST_F(DBTest, Has) { db.set("foo", "bar"); EXPECT_EQ(db.has("foo"), true); } + +TEST_F(DBTest, MultipleKeys) { + db.set("foo", "foo"); + db.set("bar", "bar"); + + EXPECT_EQ(db.get("foo"), "foo"); + EXPECT_EQ(db.get("bar"), "bar"); +} |