feat update test
This commit is contained in:
parent
050ca0c0cc
commit
f896568619
@ -115,6 +115,8 @@ TEST_SUITE("future")
|
|||||||
CHECK_FALSE(f2.IsFailed());
|
CHECK_FALSE(f2.IsFailed());
|
||||||
auto f3 = sled::Future<std::string>::AsyncValue("11");
|
auto f3 = sled::Future<std::string>::AsyncValue("11");
|
||||||
CHECK_EQ(f3.Result(), "11");
|
CHECK_EQ(f3.Result(), "11");
|
||||||
|
}
|
||||||
|
|
||||||
TEST_CASE("Constructor")
|
TEST_CASE("Constructor")
|
||||||
{
|
{
|
||||||
sled::Future<int, std::string> f1 = 1;
|
sled::Future<int, std::string> f1 = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user