
import basic_test as bt
import fatty_18_3_cis_9_12_trans_15 as fa
import unbranched_carbon_chain_test as ub
import test_formula as tf
from mformula_utils import write_image_and_descr

def main():
  back = False  # No background.
  for style in ("B1", "B2", "S1"): do_tests(style,back)
  
def do_tests(style,back):
  prefix = "out/test_"
  write_image_and_descr(bt,style,back,prefix)
  write_image_and_descr(fa,style,back,prefix,False)
  write_image_and_descr(fa,style,back,prefix,True)
  write_image_and_descr(ub,style,back,prefix,False)
  write_image_and_descr(ub,style,back,prefix,True)
  write_image_and_descr(tf,style,back,prefix)

main()
