This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style id="jsbin-css"> | |
* { | |
border: 1px solid black; | |
} | |
div { | |
background: red; | |
margin: 30px; | |
} | |
section { | |
margin: 20px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
from minisim import Infiltration, Inhabitant, Zone, Weather | |
import pytest | |
# using an instance to pass global-like variables among tests | |
class Vars: pass | |
@pytest.fixture |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## defaults for columns widths - for FUN | |
# this historically was called 'columns' as it was used to specify | |
# the width of the 3 columns (in correction mode) | |
# or of the 2 columns (in example mode) | |
# however when adding new layouts like 'text', the argument passed to the layout | |
# function ceased to be a column width, so we call this layout_args instead | |
# but in most cases this does represent column widths | |
default_layout_args = (24, 28, 28) |