about summary refs log tree commit diff stats
path: root/Test
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-10-27 23:28:42 -0700
committerjbzdarkid <jbzdarkid@gmail.com>2018-10-27 23:28:42 -0700
commit2c9afc07fe5cc53fefb90540d5db2ca424c71a51 (patch)
tree55ba19ae0e3f52f732d9382b6deccf6d879035c7 /Test
parentecc14a3463c0c1c52b5de17d2aeb719ce2942a4a (diff)
downloadwitness-tutorializer-2c9afc07fe5cc53fefb90540d5db2ca424c71a51.tar.gz
witness-tutorializer-2c9afc07fe5cc53fefb90540d5db2ca424c71a51.tar.bz2
witness-tutorializer-2c9afc07fe5cc53fefb90540d5db2ca424c71a51.zip
Major restructuring -- also set up for UI work tomorrow
Diffstat (limited to 'Test')
-rw-r--r--Test/OrderingTests.cpp7
-rw-r--r--Test/Test.vcxproj124
-rw-r--r--Test/packages.config4
3 files changed, 135 insertions, 0 deletions
diff --git a/Test/OrderingTests.cpp b/Test/OrderingTests.cpp new file mode 100644 index 0000000..79163d6 --- /dev/null +++ b/Test/OrderingTests.cpp
@@ -0,0 +1,7 @@
1#include "gtest/gtest.h"
2#include "../Source/Randomizer.h"
3#include "../Source/Memory.h"
4
5TEST(OrderingTests, TestJungleOrder) {
6 Randomizer _randomizer;
7} \ No newline at end of file
diff --git a/Test/Test.vcxproj b/Test/Test.vcxproj new file mode 100644 index 0000000..6905605 --- /dev/null +++ b/Test/Test.vcxproj
@@ -0,0 +1,124 @@
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Debug|x64">
13 <Configuration>Debug</Configuration>
14 <Platform>x64</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
20 </ItemGroup>
21 <PropertyGroup Label="Globals">
22 <ProjectGuid>{98bc35b9-ee1a-4d77-85f2-adaa72db16f7}</ProjectGuid>
23 <Keyword>Win32Proj</Keyword>
24 <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
25 <ConfigurationType>Application</ConfigurationType>
26 <PlatformToolset>v141</PlatformToolset>
27 <CharacterSet>Unicode</CharacterSet>
28 </PropertyGroup>
29 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
30 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
31 <ImportGroup Label="ExtensionSettings" />
32 <ImportGroup Label="Shared" />
33 <ImportGroup Label="PropertySheets" />
34 <PropertyGroup Label="UserMacros" />
35 <ItemGroup>
36 <ClCompile Include="OrderingTests.cpp" />
37 </ItemGroup>
38 <ItemGroup>
39 <ProjectReference Include="..\Source\Source.vcxproj">
40 <Project>{ced79182-f36b-4d07-ad0e-249c15bfad73}</Project>
41 </ProjectReference>
42 </ItemGroup>
43 <ItemGroup>
44 <None Include="packages.config" />
45 </ItemGroup>
46 <ItemDefinitionGroup />
47 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
48 <ImportGroup Label="ExtensionTargets">
49 <Import Project="..\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.0\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets" Condition="Exists('..\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.0\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets')" />
50 </ImportGroup>
51 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
52 <ClCompile>
53 <PrecompiledHeader>Use</PrecompiledHeader>
54 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
55 <Optimization>Disabled</Optimization>
56 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
57 <MinimalRebuild>true</MinimalRebuild>
58 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
59 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
60 <WarningLevel>Level3</WarningLevel>
61 </ClCompile>
62 <Link>
63 <GenerateDebugInformation>true</GenerateDebugInformation>
64 <SubSystem>Console</SubSystem>
65 </Link>
66 </ItemDefinitionGroup>
67 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
68 <ClCompile>
69 <PrecompiledHeader>Use</PrecompiledHeader>
70 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
71 <Optimization>Disabled</Optimization>
72 <PreprocessorDefinitions>X64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
73 <MinimalRebuild>true</MinimalRebuild>
74 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
75 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
76 <WarningLevel>Level3</WarningLevel>
77 </ClCompile>
78 <Link>
79 <GenerateDebugInformation>true</GenerateDebugInformation>
80 <SubSystem>Console</SubSystem>
81 </Link>
82 </ItemDefinitionGroup>
83 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
84 <ClCompile>
85 <PrecompiledHeader>Use</PrecompiledHeader>
86 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
87 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
88 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
89 <WarningLevel>Level3</WarningLevel>
90 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
91 </ClCompile>
92 <Link>
93 <GenerateDebugInformation>true</GenerateDebugInformation>
94 <SubSystem>Console</SubSystem>
95 <OptimizeReferences>true</OptimizeReferences>
96 <EnableCOMDATFolding>true</EnableCOMDATFolding>
97 </Link>
98 </ItemDefinitionGroup>
99 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
100 <ClCompile>
101 <PrecompiledHeader>NotUsing</PrecompiledHeader>
102 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
103 <PreprocessorDefinitions>X64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
105 <WarningLevel>Level3</WarningLevel>
106 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
107 <LanguageStandard>
108 </LanguageStandard>
109 <DisableSpecificWarnings>4996</DisableSpecificWarnings>
110 </ClCompile>
111 <Link>
112 <GenerateDebugInformation>true</GenerateDebugInformation>
113 <SubSystem>Console</SubSystem>
114 <OptimizeReferences>true</OptimizeReferences>
115 <EnableCOMDATFolding>true</EnableCOMDATFolding>
116 </Link>
117 </ItemDefinitionGroup>
118 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
119 <PropertyGroup>
120 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
121 </PropertyGroup>
122 <Error Condition="!Exists('..\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.0\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.1.8.0\build\native\Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn.targets'))" />
123 </Target>
124</Project> \ No newline at end of file
diff --git a/Test/packages.config b/Test/packages.config new file mode 100644 index 0000000..0acd30a --- /dev/null +++ b/Test/packages.config
@@ -0,0 +1,4 @@
1<?xml version="1.0" encoding="utf-8"?>
2<packages>
3 <package id="Microsoft.googletest.v140.windesktop.msvcstl.static.rt-dyn" version="1.8.0" targetFramework="native" />
4</packages> \ No newline at end of file