# write tests for parsers

from seqparser import (
        FastaParser,
        FastqParser)


def test_freebie_parser_1():
    """
    This one is a freebie
    DO NOT MODIFY THIS FUNCTION
    """
    assert True


def test_freebie_parser_2():
    """
    This too is a freebie
    DO NOT MODIFY THIS FUNCTION
    """
    assert 1 != 2

        
def test_FastaParser():
    """
    Write your unit test for your FastaParser
    class here. You should generate an instance of
    your FastaParser class and assert that it properly
    reads in the example Fasta File.
    """
    fastaparse = FastaParser("./data/baby_test.fa")
    for r in fastaparse:
    	assert r == ('>test0', 'CATCATCAT')


def test_FastqParser():
    """
    Write your unit test for your FastqParser
    class here. You should generate an instance of
    your FastqParser class and assert that it properly
    reads in the example Fastq File.
    """
    fastqparse = FastqParser("./data/baby_test.fq")
    for r in fastqparse:
    	assert r == ('@test0', 'GATACATAGATA', '*idk')

# write tests for parsers

from seqparser import (
        FastaParser,
        FastqParser)


def test_freebie_parser_1():
    """
    This one is a freebie
    DO NOT MODIFY THIS FUNCTION
    """
    assert True


def test_freebie_parser_2():
    """
    This too is a freebie
    DO NOT MODIFY THIS FUNCTION
    """
    assert 1 != 2

        
def test_FastaParser():
    """
    Write your unit test for your FastaParser
    class here. You should generate an instance of
    your FastaParser class and assert that it properly
    reads in the example Fasta File.
    """
    fastaparse = FastaParser("./data/baby_test.fa")
    for r in fastaparse:
    	assert r == ('>test0', 'CATCATCAT')


def test_FastqParser():
    """
    Write your unit test for your FastqParser
    class here. You should generate an instance of
    your FastqParser class and assert that it properly
    reads in the example Fastq File.
    """
    fastqparse = FastqParser("./data/baby_test.fq")
    for r in fastqparse:
    	assert r == ('@test0', 'GATACATAGATA', '*idk')

# write tests for parsers This one is a freebie     DO NOT MODIFY THIS FUNCTION This too is a freebie     DO NOT MODIFY THIS FUNCTION Write your unit test for your FastaParser     class here. You should generate an instance of     your FastaParser class and assert that it properly     reads in the example Fasta File. Write your unit test for your FastqParser     class here. You should generate an instance of     your FastqParser class and assert that it properly     reads in the example Fastq File.