MachineIntelligenceCore:Toolchain
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PropertyTests.cpp File Reference
#include <gtest/gtest.h>
#include <fstream>
#include <configuration/Property.hpp>
Include dependency graph for PropertyTests.cpp:

Go to the source code of this file.

Macros

#define private   public
 

Functions

 TEST (Property, OperatorAssignString)
 
 TEST (Property, OperatorAssignInt)
 
 TEST (Property, OperatorAssignDouble)
 
int main (int argc, char **argv)
 

Detailed Description

Copyright (C) tkornuta, IBM Corporation 2015-2019

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

: Tomasz Kornuta tkorn.nosp@m.ut@u.nosp@m.s.ibm.nosp@m..com : Jan 23, 2019

Definition in file PropertyTests.cpp.

Macro Definition Documentation

#define private   public

Definition at line 27 of file PropertyTests.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 76 of file PropertyTests.cpp.

TEST ( Property  ,
OperatorAssignString   
)

Tests whether assign operator works properly - for strings.

Definition at line 33 of file PropertyTests.cpp.

TEST ( Property  ,
OperatorAssignInt   
)

Tests whether assign operator works properly - for int.

Definition at line 51 of file PropertyTests.cpp.

TEST ( Property  ,
OperatorAssignDouble   
)

Tests whether assign operator works properly - for double.

Definition at line 65 of file PropertyTests.cpp.