# Test workflow with benchmark directive
# Tests: benchmark file creation, timing metadata

SAMPLES = ["A", "B"]

rule all:
    input: expand("output/{sample}.done", sample=SAMPLES)

rule benchmarked_task:
    output: "output/{sample}.done"
    benchmark: "benchmarks/{sample}.tsv"
    shell:
        """
        # Simulate some work
        sleep 0.1
        echo 'Processed {wildcards.sample}' > {output}
        """
