1 unstable release
0.1.0 | Feb 18, 2021 |
---|
#205 in #reader
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",
}