Lab 2
This commit is contained in:
20
test/Gradebook.ts
Normal file
20
test/Gradebook.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { describe, it } from "node:test";
|
||||
import { network } from "hardhat";
|
||||
|
||||
const { viem } = await network.connect();
|
||||
const publicClient = await viem.getPublicClient();
|
||||
|
||||
describe("Gradebook", async function () {
|
||||
it("Only the teacher can add students and points", async function () {
|
||||
|
||||
});
|
||||
|
||||
it("Everyone can read the grade for a student by their address", async function () {
|
||||
|
||||
});
|
||||
|
||||
it("An event is fired when the teacher submits points for a student", async function () {
|
||||
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user