#test #read #reader #input #helper #rosalind #rosalind-io

rosalind_test_reader

A helper crate to read Rosalind test files

1 unstable release

0.1.0 Feb 18, 2021

#205 in #reader

WTFPL license

3KB

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",
}

No runtime deps