<commit_before>module "Collidable"

test "#separate", ->
  leftObject = GameObject
    includedModules: ["Collidable"]
    x: 50
    y: 50
    width: 20
    height: 20

  rightObject = GameObject
    includedModules: ["Collidable"]
    x: 60
    y: 50
    width: 20
    height: 20  

  Collidable.separate(leftObject, rightObject)

  equal leftObject.I.x, 40
  equal rightObject.I.x, 70 


module()<commit_msg>Modified in browser at pixie.strd6.com<commit_after>module "Collidable"

test "#separate", ->
  leftObject = GameObject
    includedModules: ["Collidable"]
    x: 50
    y: 50
    width: 20
    height: 20
    velocity: Point(1, 0)

  rightObject = GameObject
    includedModules: ["Collidable"]
    x: 60
    y: 50
    width: 20
    height: 20  

  Collidable.separate(leftObject, rightObject)

  equal leftObject.I.x, 40
  equal rightObject.I.x, 70 


module()
{'fraction_non_alphanumeric': 0.10562571756601608, 'fraction_numerical': 0.04936854190585534, 'mean_word_length': 2.9279279279279278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1840868', 'n_tokens_mistral': 350, 'n_tokens_neox': 293, 'n_words': 80}