<commit_before>import Spec exposing (describe, it, Node, context, before, after)
import Spec.Steps exposing (click, dispatchEvent)
import Spec.Assertions exposing (Outcome, assert)
import Spec.Runner

import Html exposing (div, text)

import Ui.Container
import Ui.Styles

type alias Model
  = String

type Msg
  = NoOp

init : () -> Model
init _ =
  "Initial"

update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
  ( model, Cmd.none )

view : Model -> Html.Html Msg
view model =
  div []
    [ Ui.Styles.embed
    , Ui.Container.row []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.rowCenter []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.rowEnd []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.column []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.columnCenter []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.columnEnd []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.view
      { direction = "row"
      , compact = True
      , align = "start"
      }
      []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.view
      { direction = "column"
      , compact = True
      , align = "start"
      }
      []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    ]

displayAssertions selector direction justify =
  [ assert.elementPresent selector
  , assert.styleEquals
    { style = "display"
    , value = "flex"
    , selector = selector
    }
  , assert.styleEquals
    { style = "flex-direction"
    , value = direction
    , selector = selector
    }<commit_msg>Removed unused import from container specs.<commit_after>import Spec exposing (Node, describe, it, context)
import Spec.Assertions exposing (Outcome, assert)
import Spec.Runner

import Html exposing (div, text)

import Task exposing (Task)

import Ui.Container
import Ui.Styles

type alias Model
  = String

type Msg
  = NoOp

init : () -> Model
init _ =
  ""

update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
  ( model, Cmd.none )

view : Model -> Html.Html Msg
view model =
  div []
    [ Ui.Styles.embed
    , Ui.Container.row []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.rowCenter []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.rowEnd []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.column []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.columnCenter []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.columnEnd []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.view
      { direction = "row"
      , compact = True
      , align = "start"
      }
      []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    , Ui.Container.view
      { direction = "column"
      , compact = True
      , align = "start"
      }
      []
      [ div [] [ text "a" ]
      , div [] [ text "b" ]
      , div [] [ text "c" ]
      ]
    ]

displayAssertions : String -> String -> String -> List (Task Never Outcome)
displayAssertions selector direction justify =
  [ assert.elementPresent selector
  , assert.styleEquals
    { style = "display"
    , value = "flex"
    , selector = selector
    }
  , assert.styleEquals
    { style = "flex-direction"
    , value = direction
    , selector = selector
    }
{'fraction_non_alphanumeric': 0.16240377452197666, 'fraction_numerical': 0.0, 'mean_word_length': 1.742001361470388, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6783037', 'n_tokens_mistral': 1394, 'n_tokens_neox': 1386, 'n_words': 353}