This commit is contained in:
2025-01-17 13:10:42 +01:00
commit 4536213c91
15115 changed files with 1442174 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"displayName": "Exercise 3: Semantic Test Assertion",
"description": "You will be introduced to the Assert.That and related classes.",
"interactiveImport": true
}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8c0b1ed8241fd5d45b0bd3a22f3376ce
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 845415f00a14cf64598d373938e1b349
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,22 @@
using System.Linq;
namespace MyExercise_3
{
public class ValueOutputter
{
public string GetString()
{
return "A string to be asserted on";
}
public int GetInt()
{
return 11;
}
public float GetFloat()
{
return 19f + (1f/3f);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f2b1816b71f456c44b7738bdcc9878ab
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cbcd677e8923cf649822bf559ebff72a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,22 @@
{
"name": "Tests_3",
"references": [
"UnityEngine.TestRunner",
"UnityEditor.TestRunner",
"MyExercise_3"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": true,
"precompiledReferences": [
"nunit.framework.dll"
],
"autoReferenced": true,
"defineConstraints": [
"UNITY_INCLUDE_TESTS"
],
"versionDefines": []
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 148d3ddda989d7e498a434125dffa2a7
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,13 @@
using NUnit.Framework;
namespace Tests_3
{
internal class ValueOutputterTests
{
[Test]
public void YourTestGoesHere()
{
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9364200ec01601f47a3ecf758dc51ae9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: