Skip to content

Commit

Permalink
Remove testing artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryqndev committed May 5, 2024
1 parent fd965e8 commit 09ba450
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ const RANGE_PER_PIXEL_COLOR = 255;
const TOTAL_RANGE_PER_PIXEL = RANGE_PER_PIXEL_COLOR * 3;

export const generateReport = (actualHexCode, guessHexCode) => {
console.log(actualHexCode, guessHexCode);

const actualRGBValues = [
Number("0x" + actualHexCode.slice(0, 2).join("")),
Number("0x" + actualHexCode.slice(2, 4).join("")),
Expand All @@ -26,8 +24,6 @@ export const generateReport = (actualHexCode, guessHexCode) => {
TOTAL_RANGE_PER_PIXEL) *
100;

console.log(percentageDifference, similarityPercentage);

return {
actual: actualHexCode.join(""),
guess: guessHexCode.join(""),
Expand Down

0 comments on commit 09ba450

Please sign in to comment.