chore: initial git load of code space

This commit is contained in:
Thom Lamb
2026-05-12 08:52:33 -05:00
parent 9abada692f
commit 5e467bcc9c
384 changed files with 65960 additions and 2 deletions
@@ -0,0 +1,30 @@
using Strata.SqlTools.SqlBreakdown.Expressions;
using Strata.SqlTools.Visitors.Snowflake;
namespace Strata.SqlTools.SqlBreakdown.Tests.ExpressionTests;
/// <summary>
/// Represents a test case for expression tests with arrange, act, and assert phases.
/// </summary>
public class ExpressionTestCase
{
/// <summary>
/// Gets or initializes the name of the test case.
/// </summary>
public string Name { get; init; } = string.Empty;
/// <summary>
/// Gets or initializes the dictionary of expressions to arrange for the test.
/// </summary>
public Dictionary<string, Expression> Arrange { get; init; } = new();
/// <summary>
/// Gets or initializes the action to execute during the act phase of the test.
/// </summary>
public Func<Dictionary<string, Expression>, CommandVisitor, object> Act { get; init; } = null!;
/// <summary>
/// Gets or initializes the function to execute during the assert phase of the test that returns true if all assertions pass.
/// </summary>
public Func<object, bool> Assertions { get; init; } = null!;
}