From 356d86e2a9ca4145db17cbe8e5ee3e671239075f Mon Sep 17 00:00:00 2001 From: nasr Date: Thu, 27 Nov 2025 19:30:44 +0100 Subject: refactor: refactored folder structures and packaging for better clarity --- src/Tools/Benchmark.scala | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/Tools/Benchmark.scala (limited to 'src/Tools/Benchmark.scala') diff --git a/src/Tools/Benchmark.scala b/src/Tools/Benchmark.scala deleted file mode 100644 index a0b388b..0000000 --- a/src/Tools/Benchmark.scala +++ /dev/null @@ -1,17 +0,0 @@ -package com.nsrddyn.tools - -class Benchmark { - /* - * Calculate the time between the start of the execution of the function and the end - * */ - def measureTime(work: => Unit): Long = { - - val start = System.nanoTime() - work - val end = System.nanoTime() - end - start - } - - // TODO: map this to an actual precision value - def measurePrecision(work: => Boolean, expectedResult: Boolean): Unit = if work == expectedResult then println(true) else println(false) -} -- cgit v1.2.3-70-g09d2