namespace elt to etl

Corrected namespace from elt to etl
This commit is contained in:
jwellbelove 2014-10-26 16:39:14 +00:00
parent be36670b9a
commit c052dc91be
8 changed files with 784 additions and 8 deletions

63
.gitattributes vendored Normal file
View File

@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain

9
.gitignore vendored
View File

@ -1,3 +1,11 @@
#################
## Personal
#################
docs/
test/msvs/Debug
test/msvs/Release
#################
## Eclipse
#################
@ -7,7 +15,6 @@
.metadata
bin/
tmp/
docs/
*.tmp
*.bak
*.swp

14
array.h
View File

@ -353,7 +353,7 @@ namespace etl
///\param rhs Reference to the second array.
//*************************************************************************
template <typename T, const size_t SIZE>
void swap(elt::array<T, SIZE> &lhs, etl::array<T, SIZE> &rhs)
void swap(etl::array<T, SIZE> &lhs, etl::array<T, SIZE> &rhs)
{
lhs.swap(rhs);
}
@ -367,7 +367,7 @@ namespace etl
///\return <b>true</b> if the arrays are equal, otherwise <b>false</b>
//*************************************************************************
template <typename T, std::size_t SIZE>
bool operator ==(const elt::array<T, SIZE>& lhs, const elt::array<T, SIZE>& rhs)
bool operator ==(const etl::array<T, SIZE>& lhs, const etl::array<T, SIZE>& rhs)
{
return std::equal(lhs.cbegin(), lhs.cend(), rhs.cbegin());
}
@ -379,7 +379,7 @@ namespace etl
///\return <b>true</b> if the arrays are not equal, otherwise <b>false</b>
//*************************************************************************
template <typename T, std::size_t SIZE>
bool operator !=(const elt::array<T, SIZE>& lhs, const elt::array<T, SIZE>& rhs)
bool operator !=(const etl::array<T, SIZE>& lhs, const etl::array<T, SIZE>& rhs)
{
return !(lhs == rhs);
}
@ -391,7 +391,7 @@ namespace etl
///\return <b>true</b> if the first array is lexicographically less than the second, otherwise <b>false</b>
//*************************************************************************
template <typename T, std::size_t SIZE>
bool operator <(const elt::array<T, SIZE>& lhs, const elt::array<T, SIZE>& rhs)
bool operator <(const etl::array<T, SIZE>& lhs, const etl::array<T, SIZE>& rhs)
{
return std::lexicographical_compare(lhs.cbegin(),
lhs.cend(),
@ -406,7 +406,7 @@ namespace etl
///\return <b>true</b> if the first array is lexicographically less than or equal to the second, otherwise <b>false</b>
//*************************************************************************
template <typename T, std::size_t SIZE>
bool operator <=(const elt::array<T, SIZE>& lhs, const elt::array<T, SIZE>& rhs)
bool operator <=(const etl::array<T, SIZE>& lhs, const etl::array<T, SIZE>& rhs)
{
return !std::lexicographical_compare(lhs.cbegin(),
lhs.cend(),
@ -422,7 +422,7 @@ namespace etl
///\return <b>true</b> if the first array is lexicographically greater than the second, otherwise <b>false</b>
template <typename T, std::size_t SIZE>
//*************************************************************************
bool operator >(const elt::array<T, SIZE>& lhs, const elt::array<T, SIZE>& rhs)
bool operator >(const etl::array<T, SIZE>& lhs, const etl::array<T, SIZE>& rhs)
{
return std::lexicographical_compare(lhs.cbegin(),
lhs.cend(),
@ -438,7 +438,7 @@ namespace etl
///\return <b>true</b> if the first array is lexicographically greater than or equal to the second, otherwise <b>false</b>
//*************************************************************************
template <typename T, std::size_t SIZE>
bool operator >=(const elt::array<T, SIZE>& lhs, const elt::array<T, SIZE>& rhs)
bool operator >=(const etl::array<T, SIZE>& lhs, const etl::array<T, SIZE>& rhs)
{
return !std::lexicographical_compare(lhs.cbegin(),
lhs.cend(),

32
test/main.cpp Normal file
View File

@ -0,0 +1,32 @@
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
Copyright(c) 2014 jwellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/
#include <UnitTest++/UnitTest++.h>
int main()
{
return UnitTest::RunAllTests();
}

308
test/test_array.cpp Normal file
View File

@ -0,0 +1,308 @@
#include <UnitTest++/UnitTest++.h>
#include "../Array.h"
#include <array>
#include <vector>
#include <algorithm>
namespace
{
SUITE(ArrayTest)
{
static const size_t SIZE = 10;
typedef etl::array<int, SIZE> Data;
typedef std::vector<int> TestData;
Data data;
TestData testData;
TestData initialData;
//*************************************************************************
struct SetupFixture
{
SetupFixture()
{
int n[] = { 2, 1, 4, 3, 6, 5, 8, 7, 10, 9 };
std::copy(std::begin(n), std::end(n), data.begin());
initialData.assign(std::begin(n), std::end(n));
testData.assign(std::begin(n), std::end(n));
}
};
//*************************************************************************
TEST(DefaultConstructor)
{
Data data;
CHECK_EQUAL(data.size(), size_t(SIZE));
CHECK_EQUAL(data.max_size(), SIZE);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, Iterator)
{
bool isEqual = std::equal(data.begin(),
data.end(),
testData.begin());
CHECK(isEqual);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, ConstIterator)
{
bool isEqual = std::equal(data.cbegin(),
data.cend(),
testData.cbegin());
CHECK(isEqual);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, ReverseIterator)
{
bool isEqual = std::equal(data.rbegin(),
data.rend(),
testData.rbegin());
CHECK(isEqual);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, ConstReverseIterator)
{
bool isEqual = std::equal(data.crbegin(),
data.crend(),
testData.crbegin());
CHECK(isEqual);
}
//*************************************************************************
TEST(Begin)
{
Data data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
const Data constData = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK_EQUAL(data.begin(), &data[0]);
CHECK_EQUAL(constData.cbegin(), &constData[0]);
}
//*************************************************************************
TEST(End)
{
Data data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
const Data constData = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK_EQUAL(data.end(), &data[SIZE]);
CHECK_EQUAL(constData.cend(), &constData[SIZE]);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, Indexing)
{
for (size_t i = 0; i < data.size(); ++i)
{
CHECK_EQUAL(data[i], testData[i]);
}
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, IndexingConst)
{
for (size_t i = 0; i < data.size(); ++i)
{
CHECK_EQUAL(data[i], testData[i]);
}
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, at)
{
for (size_t i = 0; i < data.size(); ++i)
{
CHECK_EQUAL(data.at(i), testData.at(i));
}
bool gotException = false;
try
{
data.at(data.size());
}
catch (etl::array_out_of_range_exception)
{
gotException = true;
}
CHECK(gotException);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, AtConst)
{
for (size_t i = 0; i < data.size(); ++i)
{
CHECK_EQUAL(data.at(i), testData.at(i));
}
bool gotException = false;
try
{
data.at(data.size());
}
catch (etl::array_out_of_range_exception)
{
gotException = true;
}
CHECK(gotException);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, Front)
{
CHECK(data.front() == testData.front());
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, Back)
{
CHECK(data.back() == testData.back());
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, Assignment)
{
Data otherData;
otherData = data;
bool isEqual = std::equal(data.begin(),
data.end(),
otherData.begin());
CHECK(isEqual);
}
//*************************************************************************
TEST(Fill)
{
Data data;
data.fill(1);
TestData testData(data.max_size(), 1);
bool isEqual = std::equal(data.begin(),
data.end(),
testData.begin());
CHECK(isEqual);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, DataAccess)
{
bool isEqual = std::equal(data.begin(),
data.end(),
data.data());
CHECK(isEqual);
}
//*************************************************************************
TEST_FIXTURE(SetupFixture, Swap)
{
TestData testData2(initialData.begin() + 2, initialData.end());
Data otherData;
std::copy(initialData.begin() + 2, initialData.end(), otherData.begin());
testData.swap(testData2);
data.swap(otherData);
bool isEqual = std::equal(testData.begin(),
testData.end(),
data.begin());
CHECK(isEqual);
}
//*************************************************************************
TEST(Equal)
{
const Data data1 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
const Data data2 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(data1 == data2);
const Data data = { 1, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(data1 != data);
}
//*************************************************************************
TEST(NotEqual)
{
const Data data1 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
const Data data2 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(data1 == data2);
const Data data3 = { 1, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(data1 != data3);
}
//*************************************************************************
TEST(GreaterThan)
{
const Data lesser = { 0, 1, 2, 3, 4, 4, 6, 7, 8, 9 };
const Data data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(lesser <= data);
const Data greater = { 0, 1, 2, 3, 5, 5, 6, 7, 8, 9 };
CHECK(greater > data);
}
//*************************************************************************
TEST(LessThan)
{
const Data lesser = { 0, 1, 2, 3, 4, 4, 6, 7, 8, 9 };
const Data data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(lesser < data);
const Data greater = { 0, 1, 2, 3, 5, 5, 6, 7, 8, 9 };
CHECK(greater >= data);
}
//*************************************************************************
TEST(GreaterThanEqual)
{
const Data lesser = { 0, 1, 2, 3, 4, 4, 6, 7, 8, 9 };
const Data data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(lesser < data);
const Data greater = { 0, 1, 2, 3, 5, 5, 6, 7, 8, 9 };
CHECK(greater >= data);
const Data data2 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(data2 >= data);
}
//*************************************************************************
TEST(LessThanEqual)
{
const Data lesser = { 0, 1, 2, 3, 4, 4, 6, 7, 8, 9 };
const Data data = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(lesser <= data);
const Data greater = { 0, 1, 2, 3, 5, 5, 6, 7, 8, 9 };
CHECK(greater > data);
const Data data2 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
CHECK(data2 <= data);
}
};
}

22
test/vs2013/etl.sln Normal file
View File

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Windows Desktop
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "etl", "etl.vcxproj", "{C21DF78C-D8E0-46AB-9D6F-D38A3C1CB0FB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C21DF78C-D8E0-46AB-9D6F-D38A3C1CB0FB}.Debug|Win32.ActiveCfg = Debug|Win32
{C21DF78C-D8E0-46AB-9D6F-D38A3C1CB0FB}.Debug|Win32.Build.0 = Debug|Win32
{C21DF78C-D8E0-46AB-9D6F-D38A3C1CB0FB}.Release|Win32.ActiveCfg = Release|Win32
{C21DF78C-D8E0-46AB-9D6F-D38A3C1CB0FB}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

149
test/vs2013/etl.vcxproj Normal file
View File

@ -0,0 +1,149 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C21DF78C-D8E0-46AB-9D6F-D38A3C1CB0FB}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>unittest</RootNamespace>
<ProjectName>etl</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;ETL_USE_EXCEPTIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../unittest-cpp</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>$(OutDir)\etl.exe</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../UnitTest++/src/</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\AssertException.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\CheckMacros.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\Checks.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\CompositeTestReporter.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\Config.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\CurrentTest.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\DeferredTestReporter.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\DeferredTestResult.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\ExceptionMacros.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\ExecuteTest.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\HelperMacros.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\MemoryOutStream.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\ReportAssert.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\ReportAssertImpl.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\Test.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestDetails.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestList.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestMacros.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestReporter.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestReporterStdout.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestResults.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestRunner.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestSuite.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TimeConstraint.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TimeHelpers.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\UnitTest++.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\UnitTestPP.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\Win32\TimeHelpers.h" />
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\XmlTestReporter.h" />
<ClInclude Include="..\..\array.h" />
<ClInclude Include="..\..\enum_type.h" />
<ClInclude Include="..\..\exception.h" />
<ClInclude Include="..\..\function.h" />
<ClInclude Include="..\..\math.h" />
<ClInclude Include="..\..\queue.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\AssertException.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\Checks.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\CompositeTestReporter.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\CurrentTest.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\DeferredTestReporter.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\DeferredTestResult.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\MemoryOutStream.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\ReportAssert.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\Test.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestDetails.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestList.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestReporter.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestReporterStdout.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestResults.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestRunner.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TimeConstraint.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\Win32\TimeHelpers.cpp" />
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\XmlTestReporter.cpp" />
<ClCompile Include="..\main.cpp" />
<ClCompile Include="..\test_array.cpp">
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
</AdditionalIncludeDirectories>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,195 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="UnitTest++">
<UniqueIdentifier>{ecfaf316-dc6d-4dc1-9838-24061047ad63}</UniqueIdentifier>
</Filter>
<Filter Include="ETL">
<UniqueIdentifier>{53c3a373-0496-4db0-a981-86bf14a1fac9}</UniqueIdentifier>
</Filter>
<Filter Include="UnitTest++\Win32">
<UniqueIdentifier>{107d7e33-580f-4dc5-be11-a4b2076c2c10}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\array.h">
<Filter>ETL</Filter>
</ClInclude>
<ClInclude Include="..\..\enum_type.h">
<Filter>ETL</Filter>
</ClInclude>
<ClInclude Include="..\..\exception.h">
<Filter>ETL</Filter>
</ClInclude>
<ClInclude Include="..\..\function.h">
<Filter>ETL</Filter>
</ClInclude>
<ClInclude Include="..\..\math.h">
<Filter>ETL</Filter>
</ClInclude>
<ClInclude Include="..\..\queue.h">
<Filter>ETL</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\AssertException.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\CheckMacros.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\Checks.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\CompositeTestReporter.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\Config.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\CurrentTest.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\DeferredTestReporter.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\DeferredTestResult.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\ExceptionMacros.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\ExecuteTest.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\HelperMacros.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\MemoryOutStream.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\ReportAssert.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\ReportAssertImpl.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\Test.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestDetails.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestList.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestMacros.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestReporter.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestReporterStdout.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestResults.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestRunner.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TestSuite.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TimeConstraint.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\TimeHelpers.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\UnitTest++.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\UnitTestPP.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\XmlTestReporter.h">
<Filter>UnitTest++</Filter>
</ClInclude>
<ClInclude Include="..\..\..\unittest-cpp\UnitTest++\Win32\TimeHelpers.h">
<Filter>UnitTest++\Win32</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\AssertException.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\Checks.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\CompositeTestReporter.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\CurrentTest.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\DeferredTestReporter.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\DeferredTestResult.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\MemoryOutStream.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\ReportAssert.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\Test.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestDetails.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestList.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestReporter.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestReporterStdout.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestResults.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TestRunner.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\TimeConstraint.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\XmlTestReporter.cpp">
<Filter>UnitTest++</Filter>
</ClCompile>
<ClCompile Include="..\..\..\unittest-cpp\UnitTest++\Win32\TimeHelpers.cpp">
<Filter>UnitTest++\Win32</Filter>
</ClCompile>
<ClCompile Include="..\main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\test_array.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>