Skip to content

Commit

Permalink
(red) wip on offers
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWilson committed Jan 5, 2024
1 parent 3878da5 commit 41cc054
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/Chargen.Accept.fs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ let pseudoReactApi = {
combine = Fragment
}

[<Tests>]
let unit1 = testCase "Unit.Chargen.smoke1" <| fun () ->
test <@ [either(trait' "Fight", trait' "Hide")] |> evaluate OfferInput.fresh = Either(None, [false, Leaf "Fight"; false, Leaf "Hide"]) @>

let proto1 = testCase "proto1" <| fun () ->
let actual = swash() |> evaluate OfferInput.fresh // shouldn't actually use OfferInput.fresh here. Need to pick the options we want to show up in pseudoActual.s
let pseudoActual = // pseudo-actual because actual will be created from templates + OfferInput (i.e. selected keys), not hardwired as Menus, but that's still TODO
Expand Down

0 comments on commit 41cc054

Please sign in to comment.