This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// The structure that can be queried using DynamicCondition | |
/// </summary> | |
public interface IDynamicConditionState | |
{ | |
/// <summary> | |
/// The ailment list | |
/// </summary> | |
IReadOnlyCollection<string> Ailments { get; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal static class Example { | |
private static IEnumerator<Wait> iwillnotrun() | |
{ | |
while (true) | |
{ | |
Console.WriteLine($"Inside iwillnotrun while loop"); | |
Console.WriteLine($"I should run forever."); | |
yield return new Wait(1); | |
Console.WriteLine($"iwillnotrun"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static Vector2 CalcTextSize(string text) | |
=> CalcTextSizeImpl(text.AsSpan()); | |
public static Vector2 CalcTextSize(string text, int start) | |
=> CalcTextSizeImpl(text.AsSpan(start)); | |
public static Vector2 CalcTextSize(string text, float wrapWidth) | |
=> CalcTextSizeImpl(text.AsSpan(), wrapWidth: wrapWidth); | |
public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Test Cases *** | |
My Test Data Driven | |
[Documentation] I am a test case with all settings. | |
... I can define Documentation, Tags, Test Setup, Test Teardown | |
[Tags] my first test case include settings log output fault | |
[Timeout] 1 minute 42 seconds | |
[Setup] log. I am a test setup | |
[Teardown] log I am in Test Teardown | |
[Template] log | |
Hello World1 |