PR with too many features #58
@@ -283,13 +283,10 @@ fn make_comp_list() -> Vec<ComparisonData> {
|
|||||||
|
|
||||||
let service_hours_20 = ComparisonData::new(
|
let service_hours_20 = ComparisonData::new(
|
||||||
"service_hours_20",
|
"service_hours_20",
|
||||||
"community_involvement",
|
"service_hours",
|
||||||
ComparisonType::MapList(MapListComparison::FlattenToNumberList(
|
ComparisonType::Number(
|
||||||
"service_hours".to_string(),
|
NumberComparison::GreaterThanOrEqual
|
||||||
Box::new(NumberListComparison::Sum(Box::new(
|
),
|
||||||
NumberComparison::GreaterThanOrEqual,
|
|
||||||
))),
|
|
||||||
)),
|
|
||||||
ValueType::Number(Some(20.to_string())),
|
ValueType::Number(Some(20.to_string())),
|
||||||
"Community Service",
|
"Community Service",
|
||||||
"20+ service hours",
|
"20+ service hours",
|
||||||
@@ -297,13 +294,10 @@ fn make_comp_list() -> Vec<ComparisonData> {
|
|||||||
|
|
||||||
let service_hours_25 = ComparisonData::new(
|
let service_hours_25 = ComparisonData::new(
|
||||||
"service_hours_25",
|
"service_hours_25",
|
||||||
"community_involvement",
|
"service_hours",
|
||||||
ComparisonType::MapList(MapListComparison::FlattenToNumberList(
|
ComparisonType::Number(
|
||||||
"service_hours".to_string(),
|
NumberComparison::GreaterThanOrEqual
|
||||||
Box::new(NumberListComparison::Sum(Box::new(
|
),
|
||||||
NumberComparison::GreaterThanOrEqual,
|
|
||||||
))),
|
|
||||||
)),
|
|
||||||
ValueType::Number(Some(25.to_string())),
|
ValueType::Number(Some(25.to_string())),
|
||||||
"Community Service",
|
"Community Service",
|
||||||
"25+ service hours",
|
"25+ service hours",
|
||||||
@@ -311,13 +305,10 @@ fn make_comp_list() -> Vec<ComparisonData> {
|
|||||||
|
|
||||||
let service_hours_30 = ComparisonData::new(
|
let service_hours_30 = ComparisonData::new(
|
||||||
"service_hours_30",
|
"service_hours_30",
|
||||||
"community_involvement",
|
"service_hours",
|
||||||
ComparisonType::MapList(MapListComparison::FlattenToNumberList(
|
ComparisonType::Number(
|
||||||
"service_hours".to_string(),
|
NumberComparison::GreaterThanOrEqual
|
||||||
Box::new(NumberListComparison::Sum(Box::new(
|
),
|
||||||
NumberComparison::GreaterThanOrEqual,
|
|
||||||
))),
|
|
||||||
)),
|
|
||||||
ValueType::Number(Some(30.to_string())),
|
ValueType::Number(Some(30.to_string())),
|
||||||
"Community Service",
|
"Community Service",
|
||||||
"30+ service hours",
|
"30+ service hours",
|
||||||
|
|||||||
Reference in new issue
Block a user