# HG changeset patch
# User Sam <sam@basx.dev>
# Date 1695222140 -25200
# Node ID 00231e014642c39a7777d962d16cc4c1418f688a
# Parent  6f61e0bb89b7e59bef9c14d506f65dc618dc9d4a
fix: tests

diff -r 6f61e0bb89b7 -r 00231e014642 tests/test_collision.nim
--- a/tests/test_collision.nim	Tue Sep 19 23:53:04 2023 +0700
+++ b/tests/test_collision.nim	Wed Sep 20 22:02:20 2023 +0700
@@ -26,7 +26,7 @@
 
   var engine = initEngine("Test collisions")
 
-  engine.initRenderer({"": shaderConfiguration})
+  engine.initRenderer({"default material": shaderConfiguration})
   engine.addScene(scene)
 
   while engine.updateInputs() == Running and not engine.keyIsDown(Escape):
diff -r 6f61e0bb89b7 -r 00231e014642 tests/test_materials.nim
--- a/tests/test_materials.nim	Tue Sep 19 23:53:04 2023 +0700
+++ b/tests/test_materials.nim	Wed Sep 20 22:02:20 2023 +0700
@@ -5,7 +5,7 @@
 
 let
   sampler = Sampler(magnification: VK_FILTER_NEAREST, minification: VK_FILTER_NEAREST)
-  (RT, WT, PT) = (hexToColorAlpha("A51931").asPixel, hexToColorAlpha("F4F5F8").asPixel, hexToColorAlpha("2D2A4A").asPixel)
+  (RT, WT, PT) = (toRGBA("A51931").asPixel, toRGBA("F4F5F8").asPixel, toRGBA("2D2A4A").asPixel)
   thai = Image(width: 7, height: 5, imagedata: @[
     RT, RT, RT, RT, RT, RT, RT,
     WT, WT, WT, WT, WT, WT, WT,