Skip to content

Commit

Permalink
commented out testcode, deleted temp files
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwen101 committed Oct 1, 2023
1 parent e88898c commit 81497cd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Empty file removed failedTests.txt
Empty file.
2 changes: 1 addition & 1 deletion javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ async function main() {
await recursiveXmlToHtmlInOrder("parseXml");
writeRewritedSearchData();
// this is meant to be temp; also, will remove the original "generateSearchData" after the updation at the frontend is completed.
testIndexSearch();
//testIndexSearch();
}
}

Expand Down
4 changes: 2 additions & 2 deletions javascript/searchRewriteTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@


/* todos and issues:
have not test urls, and urls for exercise can be impoved, currently point to the closest paragraph
what is the mechanism for link to snippet and latex? propably need to modify the frontend
propably need to modify the frontend to enable link to snippets
works fine for things like <= (numeric comparison operator), but not for || (logical disjunction); could not test for " (double quote)
did not process the "seexml" file, so no see also in index
did not process the latex, roman, italic, etc.
Expand Down Expand Up @@ -167,6 +166,7 @@ averager (constraint), 261 (ex. 3.33)

// I include 2 out of the 5 columns of all the index with A here.

// manually tested the exercise urls to accumulate and accumulate_n, they are correct
import { indexTrie, search, getUrl, autoComplete } from "./searchRewrite"
import fs from "fs";

Expand Down
1 change: 0 additions & 1 deletion urls.txt

This file was deleted.

0 comments on commit 81497cd

Please sign in to comment.