Handmade Network»Ginger Bill

odin test is now fancy!

// demo_test.odin
package main

import "core:testing"

@(test)
foo :: proc(t: ^testing.T) {
    f := f64(-1.0);
    got := abs(f);
    if got != 1 {
        testing.errorf(t, "abs(-1) = %v; want 1", got);
    }
}

Commit: https://github.com/odin-lang/Odin/commit/2aa588209e784274136b516224372fdd677d3e8f