Show / Hide Table of Contents

Class BrainAutomationTests

Contains tests related to running brains.

Inheritance
object
BrainAutomationTests
Implements
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain.Tests
Assembly: BotBrain.Core.Tests.dll
Syntax
[TestClass]
public class BrainAutomationTests : IDisposable

Constructors

View Source

BrainAutomationTests()

Declaration
public BrainAutomationTests()

Methods

View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()
View Source

TestBrainPausesRunningBot()

Test that a brain correctly pauses a bot when there's no recommendation and it's already running.

Declaration
[TestMethod]
public Task TestBrainPausesRunningBot()
Returns
Type Description
Task

A task.

View Source

TestEmptyBrain()

Test that an empty brain with no urges can run and doesn't produce recommendations.

Declaration
[TestMethod]
public Task TestEmptyBrain()
Returns
Type Description
Task

A task.

View Source

TestFakeBrainCanRun()

Test that a brain with repeated urges can run and produce recommendations.

Declaration
[TestMethod]
public Task TestFakeBrainCanRun()
Returns
Type Description
Task

A task.

Implements

IDisposable
  • View Source
In this article
Back to top Generated by DocFX