Skip to content

Commit

Permalink
deprecated hash_score
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Jan 13, 2024
1 parent 65abfbe commit 8c09bf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/DMUStudent.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ export HW1,
HW5,
HW6

function hash_score(hw, email, score, key)
return hexdigest("sha256", string(hw)*email*string(score)*key)
end

include("HW1.jl")
include("HW2.jl")
Expand All @@ -22,4 +19,7 @@ include("HW4.jl")
include("HW5.jl")
include("HW6.jl")


@deprecate hash_score(hw, email, score, key) hexdigest("sha256", string(hw)*email*string(score)*key)

end # module
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ using DMUStudent
using Test
import JSON

# include("hw1.jl")
include("hw1.jl")
# include("hw2.jl")
include("hw3.jl")
# include("hw3.jl")
# include("hw4.jl")
# include("hw5.jl")
include("hw6.jl")
# include("hw6.jl")

0 comments on commit 8c09bf4

Please sign in to comment.