Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
cleanup: let configs be created using templates. Coool.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajjon committed Nov 30, 2024
1 parent 019e17e commit 42e9120
Show file tree
Hide file tree
Showing 9 changed files with 775 additions and 1,181 deletions.
2 changes: 0 additions & 2 deletions crates/rules/src/matrices/builder/matrix_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ pub type MatrixBuilder = AbstractMatrixBuilderOrBuilt<
Built, // this is HACKY
>;

pub type MatrixTemplate = AbstractMatrixBuilt<FactorSourceTemplate>;

// ==================
// ===== PUBLIC =====
// ==================
Expand Down
22 changes: 11 additions & 11 deletions crates/rules/src/matrices/builder/matrix_builder_unit_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ mod shield_configs {
use super::*;

#[test]
fn config_1_1() {
fn config_11() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1285,7 +1285,7 @@ mod shield_configs {
}

#[test]
fn config_1_2() {
fn config_12() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1335,7 +1335,7 @@ mod shield_configs {
}

#[test]
fn config_1_3() {
fn config_13() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1386,7 +1386,7 @@ mod shield_configs {
}

#[test]
fn config_1_4() {
fn config_14() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1426,7 +1426,7 @@ mod shield_configs {
}

#[test]
fn config_1_5() {
fn config_15() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1466,7 +1466,7 @@ mod shield_configs {
}

#[test]
fn config_2_1() {
fn config_21() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1514,7 +1514,7 @@ mod shield_configs {
}

#[test]
fn config_2_2() {
fn config_22() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1562,7 +1562,7 @@ mod shield_configs {
}

#[test]
fn config_2_3() {
fn config_23() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1602,7 +1602,7 @@ mod shield_configs {
}

#[test]
fn config_2_4() {
fn config_24() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1642,7 +1642,7 @@ mod shield_configs {
}

#[test]
fn config_3() {
fn config_30() {
let mut sut = make();

// Primary
Expand Down Expand Up @@ -1693,7 +1693,7 @@ mod shield_configs {
}

#[test]
fn config_4() {
fn config_40() {
let mut sut = make();

// Primary
Expand Down
Loading

0 comments on commit 42e9120

Please sign in to comment.