Browse Source

sanity: fixing lots of tests

apparently i totally borked a lot of sanity tests. should be fixed now.

BORK BORK BORK
dev
Andy Meneely 8 years ago
parent
commit
2020b5a67a
  1. 2
      samples/data/_excel.rb
  2. BIN
      samples/data/sample_csv_qty_01_expected.png
  3. BIN
      samples/data/sample_excel_resources_00_expected.png
  4. BIN
      samples/data/sample_excel_resources_01_expected.png
  5. BIN
      samples/data/sample_xlsx_qty_01_expected.png
  6. BIN
      samples/saves/save_sheet_02_expected.png
  7. BIN
      samples/saves/save_sheet_rtl_01_expected.png
  8. BIN
      samples/saves/save_single_sheet_01_expected.png
  9. BIN
      samples/saves/save_single_sheet_02_expected.png
  10. BIN
      samples/sprues/advanced_sprues_01_expected.png
  11. 6
      spec/data/samples/data/_excel.rb.txt

2
samples/data/_excel.rb

@ -51,5 +51,5 @@ Squib::Deck.new(cards: resource_data['Name'].size) do
rect width: :deck, height: :deck
text str: resource_data['Name'], align: :center, width: :deck, hint: 'red'
text str: resource_data['Cost'], align: :right, width: :deck, hint: 'red'
save_sheet prefix: 'sample_excel_resources_' # save to a whole sheet
save_sheet prefix: 'sample_excel_resources_', columns: 3
end

BIN
samples/data/sample_csv_qty_01_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

BIN
samples/data/sample_excel_resources_00_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 29 KiB

BIN
samples/data/sample_excel_resources_01_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

BIN
samples/data/sample_xlsx_qty_01_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

BIN
samples/saves/save_sheet_02_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

BIN
samples/saves/save_sheet_rtl_01_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

BIN
samples/saves/save_single_sheet_01_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

BIN
samples/saves/save_single_sheet_02_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

BIN
samples/sprues/advanced_sprues_01_expected.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 72 KiB

6
spec/data/samples/data/_excel.rb.txt

@ -688,11 +688,11 @@ cairo: set_source([MockDouble, 100, 0])
cairo: paint([])
cairo: set_source([MockDouble, 200, 0])
cairo: paint([])
cairo: set_source([MockDouble, 300, 0])
cairo: set_source([MockDouble, 0, 101])
cairo: paint([])
cairo: set_source([MockDouble, 400, 0])
cairo: set_source([MockDouble, 100, 101])
cairo: paint([])
cairo: set_source([MockDouble, 0, 101])
cairo: set_source([MockDouble, 200, 101])
cairo: paint([])
surface: write_to_png(["_output/sample_excel_resources_00.png"])
surface: finish([])

Loading…
Cancel
Save