Skip to content

Commit

Permalink
more reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Feb 21, 2023
1 parent 294820d commit f895ab7
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions src/test.rs
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
use crate::types::*;

pub const ALPHABET: &[&[&str]] = &[
&["a","A"],
&["b","B"],
&["c","C"],
&["d","D"],
&["e","E"],
&["f","F"],
&["g","G"],
&["h","H"],
&["i","I"],
&["j","J"],
&["k","K"],
&["l","L"],
&["m","M"],
&["n","N"],
&["o","O"],
&["p","P"],
&["q","Q"],
&["r","R"],
&["s","S"],
&["t","T"],
&["u","U"],
&["v","V"],
&["w","W"],
&["x","X"],
&["y","Y"],
&["z","Z"],
&[".",","],
&["a", "A"],
&["b", "B"],
&["c", "C"],
&["d", "D"],
&["e", "E"],
&["f", "F"],
&["g", "G"],
&["h", "H"],
&["i", "I"],
&["j", "J"],
&["k", "K"],
&["l", "L"],
&["m", "M"],
&["n", "N"],
&["o", "O"],
&["p", "P"],
&["q", "Q"],
&["r", "R"],
&["s", "S"],
&["t", "T"],
&["u", "U"],
&["v", "V"],
&["w", "W"],
&["x", "X"],
&["y", "Y"],
&["z", "Z"],
&[".", ","],
];


pub fn get_test_alphabet() -> (Alphabet,CharIndexType) {
pub fn get_test_alphabet() -> (Alphabet, CharIndexType) {
//this is a bit silly to do so verbosely here just to get
//everything in Vecss and Strings, but it works
let mut alphabet: Alphabet = Vec::new();
Expand Down

0 comments on commit f895ab7

Please sign in to comment.