Using library and removed common functions (#3)

* Added lib from git and removed code which is in lib now

* NormalizePathLayer to remove trailing slash
This commit is contained in:
Martin Berg Alstad
2024-06-22 17:33:33 +02:00
committed by GitHub
parent e7f1ae156d
commit 4b6608fd4f
20 changed files with 41 additions and 426 deletions

View File

@ -1,12 +1,12 @@
use std::cmp::Ordering;
use std::collections::HashMap;
use lib::map;
use lib::vector::distinct::Distinct;
use serde::{Deserialize, Serialize};
use crate::expressions::expression::Expression;
use crate::map;
use crate::routing::options::TruthTableOptions;
use crate::utils::array::Distinct;
type TruthMatrix = Vec<Vec<bool>>;
@ -197,8 +197,9 @@ impl TruthTable {
#[cfg(test)]
mod tests {
use lib::matrix;
use crate::expressions::helpers::{and, atomic, implies, not, or};
use crate::matrix;
use super::*;