<commit_before>#= require three.min
#= require roofpig/Pieces3D

mock_scene    = { add: -> }
mock_settings = { hover: 1.0, colors: { to_draw: -> { real: true, color: 'red'} } }

describe "Pieces3D", ->
  it ".make_stickers() creates Pieces3D.UBL, Pieces3D.UL, Pieces3D.F etc", ->
    pieces = new Pieces3D(mock_scene, mock_settings)

    for piece in [pieces.UBL, pieces.UL, pieces.U]
      expect(piece).to.be.defined

    for piece in [pieces.BLU, pieces.WTF, pieces.LU]
      expect(piece).to.be.undefined<commit_msg>Test mocks (again...) out of sync.<commit_after>#= require three.min
#= require roofpig/Pieces3D

mock_scene    = { add: -> }

mock_settings = {
  hover: 1.0,
  colors: {
    to_draw: -> { hovers: true, color: 'red'}
    of: -> 'black'
  }
}
describe "Pieces3D", ->
  it ".make_stickers() creates Pieces3D.UBL, Pieces3D.UL, Pieces3D.F etc", ->
    pieces = new Pieces3D(mock_scene, mock_settings)

    for piece in [pieces.UBL, pieces.UL, pieces.U]
      expect(piece).to.be.defined

    for piece in [pieces.BLU, pieces.WTF, pieces.LU]
      expect(piece).to.be.undefined
{'fraction_non_alphanumeric': 0.1565934065934066, 'fraction_numerical': 0.014652014652014652, 'mean_word_length': 3.3031496062992125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '5925663', 'n_tokens_mistral': 439, 'n_tokens_neox': 416, 'n_words': 92}