from __future__ import print_function, unicode_literals
import sourmash


def test_sourmash_signature_api():
    e = sourmash.MinHash(n=1, ksize=20)
    sig = sourmash.SourmashSignature(e)
    s = sourmash.save_signatures([sig])
    sig_x1 = sourmash.load_one_signature(s)
    sig_x2 = list(sourmash.load_signatures(s))[0]
    assert sig_x1 == sig
    assert sig_x2 == sig

66adcbfe4aebc9e52bf19e9f48fdd4f0b1b0d3f5
<mask token>

<mask token>


def test_sourmash_signature_api():
    e = sourmash.MinHash(n=1, ksize=20)
    sig = sourmash.SourmashSignature(e)
    s = sourmash.save_signatures([sig])
    sig_x1 = sourmash.load_one_signature(s)
    sig_x2 = list(sourmash.load_signatures(s))[0]
    assert sig_x1 == sig
    assert sig_x2 == sig

from __future__ import print_function, unicode_literals
import sourmash


def test_sourmash_signature_api():
    e = sourmash.MinHash(n=1, ksize=20)
    sig = sourmash.SourmashSignature(e)
    s = sourmash.save_signatures([sig])
    sig_x1 = sourmash.load_one_signature(s)
    sig_x2 = list(sourmash.load_signatures(s))[0]
    assert sig_x1 == sig
    assert sig_x2 == sig
