rosalind_test_reader

Crates.iorosalind_test_reader
lib.rsrosalind_test_reader
version0.1.0
sourcesrc
created_at2021-02-18 12:49:59.455267
updated_at2021-02-18 12:49:59.455267
descriptionA helper crate to read Rosalind test files
homepage
repositoryhttps://github.com/stevenliebregt/cargo-generate-rosalind-template
max_upload_size
id357017
size2,754
Steven Liebregt (stevenliebregt)

documentation

README

Rosalind Test File Reader

Simple crate to help read test files from Rosalind.

Example

RosalindIO::from_path("tests/test-file.txt");
// or from 2 strings directly
RosalindIO::from_strings(
    String::from("Hello"), 
    String::from("World")
);

A file like this:

Input
Hello
Output
World

Becomes a RosalindIO struct like this:

RosalindIO {
    input: "Hello",
    output: "World",
}
Commit count: 6

cargo fmt