Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3998103
attachments.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 8, 11:16 PM
Size
505 B
Mime Type
text/x-c
Expires
Fri, Jul 10, 11:16 PM (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
272819
Attached To
rXR Xreate
attachments.cpp
View Options
/*
* attachments.cpp
*
* Author: pgess <v.melnychenko@xreate.org>
* Created on January 22, 2017, 12:16 PM
*/
#include "attachments.h"
#include "ast.h"
#include "gtest/gtest.h"
using namespace xreate;
TEST(Attachments, basic1){
AttachmentsContainerDefault<bool>* c = new AttachmentsContainerDefault<bool>();
Expression expTest(Atom<Number_t>(10));
c->put<Expression>(expTest, true);
Expression expTest2(Atom<Number_t>(11));
ASSERT_FALSE(c->exists<Expression>(expTest2));
}
Event Timeline
Log In to Comment