Skip to content

Commit

Permalink
[Tests] Remove test with hardcoded hash
Browse files Browse the repository at this point in the history
  • Loading branch information
hyazinthh committed Jul 18, 2023
1 parent 775ee9d commit b48e726
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Tests/FShade.Core.Tests/Hashes.fs
Original file line number Diff line number Diff line change
Expand Up @@ -559,19 +559,6 @@ let ``[Hashing] intrinsic hashes on target-function``() =

e1.Id |> should equal e2.Id


// Note: Hashes depend on assembly version
// -> unit tests containing hard coded hashes must be fixed for each new major version or when the serializer is modified
[<Test>]
let ``[Hashing] deterministic uniforms``() =
let subScopes = [ "Bla"; "Blurg"; "Blubber" ].RandomOrder() |> Seq.toList
for s in subScopes do uniform.GetChildScope s |> ignore

let e1 = Effect.ofFunction Shader6.shader

e1.Id |> should equal "qlMH3PqU1hAd4ru06Gex4h0CBmY="


[<Test>]
let ``[ComputeHashing] equal => equal hash``() =
let s = V3i(128,128,128)
Expand Down

0 comments on commit b48e726

Please sign in to comment.