<commit_before>var test = require('tape');
var template = require('template-utils.js');
var tapeTemplates = require('tape-templates.js');

// TEST FIXTURE

test('tape template function', function (t) {
    t.plan(2); // How many tests?
    //Dummy data for parsed comment
    var dataObj = {
      specType : 'tape',
      specFileSrc : 'app.js',
      tests : [
        { testTitle: 'sum function',
          assertions: [
            { assertionMessage: 'return the sum of both params',
              assertionType: 'equals',
              assertionInput: 'sum(6, 7)',
              assertionOutput: '13'
            },
            { assertionMessage: 'return the sum of both params',
              assertionType: 'equals',
              assertionInput: 'sum(8, 9)',
              assertionOutput: '17'
            }
          ]
        },
        { testTitle: 'multiply function',
          assertions: [<commit_msg>Fixed require statements for tape template tests<commit_after>var test = require('tape');
var template = require('../templates/template-utils.js');
var tapeTemplates = require('../templates/tape/tape-templates.js');

// TEST FIXTURE

test('tape template function', function (t) {
    t.plan(2); // How many tests?
    //Dummy data for parsed comment
    var dataObj = {
      specType : 'tape',
      specFileSrc : 'app.js',
      tests : [
        { testTitle: 'sum function',
          assertions: [
            { assertionMessage: 'return the sum of both params',
              assertionType: 'equals',
              assertionInput: 'sum(6, 7)',
              assertionOutput: '13'
            },
            { assertionMessage: 'return the sum of both params',
              assertionType: 'equals',
              assertionInput: 'sum(8, 9)',
              assertionOutput: '17'
            }
          ]
        },
        { testTitle: 'multiply function',
          assertions: [
{'fraction_non_alphanumeric': 0.12447478991596639, 'fraction_numerical': 0.009453781512605041, 'mean_word_length': 1.9128440366972477, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4793397', 'n_tokens_mistral': 534, 'n_tokens_neox': 520, 'n_words': 142}